/* ========== 屏山晨夕装饰官网 - 统一样式 ========== */

/* --- 重置与基础 --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --primary-light: #2a4a7f;
    --primary-dark: #0f2340;
    --gold: #c8a04e;
    --gold-light: #d4b56a;
    --gold-dark: #a88838;
    --bg-light: #f7f8fa;
    --bg-gray: #eef1f5;
    --text-main: #2d3748;
    --text-sub: #718096;
    --text-light: #a0aec0;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --nav-height: 64px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* --- 容器 --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-sub);
    margin-top: 12px;
    font-size: 0.95rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }

/* --- 导航栏 --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nav-logo .logo-text span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Hero区 --- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 160, 78, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(200, 160, 78, 0.2);
    border: 1px solid rgba(200, 160, 78, 0.5);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- 页面通用Hero --- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 100px 0 50px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero .breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a:hover {
    color: var(--gold);
}

/* --- 卡片网格 --- */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.card-icon.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.card p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 12px;
    font-weight: 600;
}

/* --- 优势卡片 --- */
.advantage-card {
    text-align: center;
}

.advantage-card .card-icon {
    margin: 0 auto 18px;
}

.advantage-card .card-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 6px;
}

/* --- 服务概览 --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card .service-img {
    height: 160px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 2.5rem;
}

.service-card .service-img.g1 { background: linear-gradient(135deg, #2a4a7f, #1a365d); }
.service-card .service-img.g2 { background: linear-gradient(135deg, #c8a04e, #a88838); }
.service-card .service-img.g3 { background: linear-gradient(135deg, #3a6b8a, #2a5a7a); }
.service-card .service-img.g4 { background: linear-gradient(135deg, #6b5b95, #4a3f75); }

/* --- 案例卡片 --- */
.case-card {
    overflow: hidden;
    padding: 0;
}

.case-card .case-img {
    height: 200px;
    background: linear-gradient(135deg, #2a4a7f, #1a365d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    position: relative;
}

.case-card .case-img.g1 { background: linear-gradient(135deg, #1a365d, #2a4a7f); }
.case-card .case-img.g2 { background: linear-gradient(135deg, #4a3f75, #6b5b95); }
.case-card .case-img.g3 { background: linear-gradient(135deg, #2a5a7a, #3a6b8a); }

.case-card .case-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-card .case-body {
    padding: 20px;
}

.case-card .case-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.case-meta span {
    background: var(--bg-light);
    color: var(--text-sub);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
}

.case-card .case-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- 案例详情 --- */
.case-detail {
    margin-bottom: 40px;
}

.case-detail-header {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 24px;
}

.case-detail-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.case-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.case-info-item {
    text-align: center;
}

.case-info-item .label {
    color: var(--text-light);
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.case-info-item .value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.case-room {
    margin-bottom: 24px;
}

.case-room-img {
    height: 240px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.case-room-img.living { background: linear-gradient(135deg, #1a365d, #2a4a7f); }
.case-room-img.bedroom { background: linear-gradient(135deg, #4a3f75, #6b5b95); }
.case-room-img.kitchen { background: linear-gradient(135deg, #2a5a7a, #3a6b8a); }
.case-room-img.bathroom { background: linear-gradient(135deg, #3a6b8a, #4a7b9a); }

.case-room h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.case-room p {
    color: var(--text-sub);
    font-size: 0.95rem;
}

/* --- 报价表 --- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pricing-table th {
    background: var(--primary);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.pricing-table tr:nth-child(even) td {
    background: var(--bg-light);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table .price {
    color: var(--gold-dark);
    font-weight: 700;
}

/* --- 服务流程 --- */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    counter-reset: step;
}

.process-step {
    flex: 1;
    min-width: 130px;
    text-align: center;
    position: relative;
}

.process-step .step-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 12px;
    counter-increment: step;
}

.process-step .step-num::before {
    content: counter(step);
}

.process-step h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.process-step p {
    color: var(--text-sub);
    font-size: 0.85rem;
}

/* --- FAQ --- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}

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

.faq-question .faq-icon {
    font-size: 1.2rem;
    color: var(--gold);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

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

.faq-answer-inner {
    padding: 0 24px 18px;
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- 服务区域 --- */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.area-tag {
    background: var(--bg-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.area-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- CTA区 --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 50px 0;
}

.cta-section h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* --- 干货文章 --- */
.guide-article {
    margin-bottom: 32px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
}

.guide-article h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-article h3 .guide-num {
    background: var(--gold);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.guide-article p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.8;
}

.guide-article ul {
    margin-top: 10px;
    padding-left: 20px;
}

.guide-article ul li {
    color: var(--text-sub);
    font-size: 0.92rem;
    line-height: 1.8;
    list-style: disc;
}

.guide-article ul li::marker {
    color: var(--gold);
}

/* --- 关于我们 --- */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item .year {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.timeline-item h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 6px;
}

.timeline-item p {
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* --- 联系表单 --- */
.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

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

.contact-form label {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-light);
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 160, 78, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item .info-label {
    color: var(--text-light);
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.contact-info-item .info-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
    margin: 20px auto;
}

/* --- 质保承诺 --- */
.warranty-card {
    text-align: center;
    padding: 30px 20px;
}

.warranty-card .warranty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.warranty-card h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.warranty-card p {
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* --- 团队 --- */
.team-card {
    text-align: center;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.team-card h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--gold-dark);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.team-card p {
    color: var(--text-sub);
    font-size: 0.88rem;
}

/* --- 页脚 --- */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.footer-brand h3 span {
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 14px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

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

.footer-nap {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-nap p {
    font-size: 0.88rem;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nap .nap-phone {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* --- 工具类 --- */
.bg-light { background: var(--bg-light); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- 响应式 --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-phone {
        display: none;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero p {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .num {
        font-size: 1.5rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

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

    .process-steps {
        flex-direction: column;
    }

    .process-step {
        min-width: 100%;
    }

    .pricing-table {
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 16px;
    }

    .card {
        padding: 20px;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}
