/* ==========================================
   NY Personal Injury Lawyer - Styles
   ========================================== */

:root {
    --primary: #0a2463;
    --primary-light: #1e3a7a;
    --primary-dark: #061640;
    --secondary: #c41e3a;
    --secondary-light: #e8354f;
    --accent: #d4a843;
    --accent-light: #f0c95e;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f7f9fc;
    --bg-alt: #eef2f7;
    --border: #e2e8f0;
    --shadow: 0 2px 15px rgba(10, 36, 99, 0.08);
    --shadow-hover: 0 8px 30px rgba(10, 36, 99, 0.15);
    --shadow-lg: 0 15px 50px rgba(10, 36, 99, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.top-bar-left a:hover {
    color: var(--accent-light);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
}

/* ==========================================
   Header / Navigation
   ========================================== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .logo-main {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text .logo-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

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

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.header-phone:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

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

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 67, 0.2);
    border: 1px solid rgba(212, 168, 67, 0.4);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
}

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

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-feature i {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    color: #fff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

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

.hero-stat .stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.hero-stat .stat-suffix {
    font-size: 20px;
    font-weight: 600;
}

.hero-stat .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* Hero with Image Layout */
.hero-with-image .hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-with-image .hero-text {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.2);
}

.hero-image-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--secondary);
    color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(196,30,58,0.5);
    border: 3px solid #fff;
}

.hero-image-badge .badge-number {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.hero-image-badge .badge-text {
    font-size: 11px;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .hero-with-image .hero-content {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-with-image .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-image-badge {
        width: 70px;
        height: 70px;
        bottom: -10px;
        left: -10px;
    }

    .hero-image-badge .badge-number {
        font-size: 22px;
    }
}

/* ==========================================
   Emergency Banner
   ========================================== */
.emergency-banner {
    background: linear-gradient(90deg, var(--secondary), #a01830);
    color: #fff;
    padding: 16px 0;
    text-align: center;
}

.emergency-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-banner i {
    font-size: 22px;
    animation: pulse 2s infinite;
}

.emergency-banner span {
    font-size: 17px;
    font-weight: 600;
}

.emergency-banner a {
    background: #fff;
    color: var(--secondary);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
}

.emergency-banner a:hover {
    background: var(--accent);
    color: #fff;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary);
    color: #fff;
}

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

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-dark .section-title h2 {
    color: #fff;
}

.section-title .title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-title p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.7);
}

/* ==========================================
   Service Cards
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(10,36,99,0.08), rgba(10,36,99,0.04));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary);
}

/* ==========================================
   Why Choose Us
   ========================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.advantage-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin: 0 auto 20px;
}

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

.advantage-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ==========================================
   Process / Timeline
   ========================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow);
}

.process-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.process-step p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==========================================
   Stats Bar
   ========================================== */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 50px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-item .stat-suffix {
    font-size: 22px;
}

.stat-item .stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* ==========================================
   Case Results
   ========================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.case-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 20px 24px;
    color: #fff;
}

.case-type {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-amount {
    font-size: 30px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.2;
}

.case-body {
    padding: 24px;
}

.case-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.case-body p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.case-result {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 60px;
    color: rgba(10,36,99,0.06);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-light);
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

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

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

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

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 40px;
    color: #fff;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    font-size: 15px;
}

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.contact-item-text a:hover {
    color: var(--accent-light);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* ==========================================
   Service Area
   ========================================== */
.area-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.area-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.area-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.area-item i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.area-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.area-item p {
    font-size: 12px;
    color: var(--text-light);
}

/* ==========================================
   Page Header (Interior Pages)
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0 50px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

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

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

/* ==========================================
   About Page
   ========================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.about-highlight i {
    color: var(--secondary);
    font-size: 18px;
}

.about-highlight span {
    font-weight: 600;
    font-size: 14px;
}

.about-image-wrapper {
    position: relative;
}

.about-image-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 40px;
    color: #fff;
    text-align: center;
}

.about-image-box .about-icon {
    font-size: 80px;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-image-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-image-box p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(196,30,58,0.4);
}

.experience-badge .badge-number {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .badge-text {
    font-size: 11px;
    opacity: 0.9;
}

/* About Image Real Photo */
.about-image-real {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.about-image-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
    display: block;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,36,99,0.95), transparent);
    padding: 30px;
    color: #fff;
}

.about-image-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-image-overlay p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.team-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: #fff;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-card .team-title {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ==========================================
   Compensation Section
   ========================================== */
.compensation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.compensation-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.compensation-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.compensation-item i {
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.compensation-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.compensation-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* ==========================================
   Service Detail Page
   ========================================== */
.service-detail {
    padding: 40px 0;
}

.service-detail-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.service-detail-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.service-detail-card p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
}

.service-detail-card ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--text-medium);
}

.service-detail-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 14px;
}

.service-detail-cta {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.service-detail-cta p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================
   Blog Section
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.blog-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 24px;
    color: #fff;
}

.blog-card-header .blog-date {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.blog-card-header h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-body {
    padding: 20px 24px;
}

.blog-card-body p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-brand .footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

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

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

.footer-designer {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-designer a {
    color: rgba(255,255,255,0.5);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), #a01830);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--secondary);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ==========================================
   Scroll Reveal
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 36px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid::before { display: none; }
    .area-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro { grid-template-columns: 1fr; gap: 30px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .header .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu-toggle { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .nav-menu.active { display: flex; }

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

    .header-cta { display: none; }

    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .hero-features { flex-direction: column; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-stat .stat-number { font-size: 30px; }

    .section { padding: 50px 0; }
    .section-title h2 { font-size: 26px; }

    .services-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .compensation-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item .stat-number { font-size: 36px; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .cta-section h2 { font-size: 26px; }
    .cta-buttons { flex-direction: column; align-items: center; }

    .page-header h1 { font-size: 28px; }

    .about-highlights { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    .experience-badge {
        bottom: -10px;
        right: 10px;
        width: 80px;
        height: 80px;
    }
    .experience-badge .badge-number { font-size: 26px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   Calculator Page Styles
   ========================================== */

.calculator-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.calculator-intro p {
    color: var(--text-medium);
    font-size: 17px;
    line-height: 1.8;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.calc-progress {
    display: flex;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.calc-progress-step {
    flex: 1;
    padding: 16px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    transition: all 0.3s;
}

.calc-progress-step.active {
    color: var(--primary);
    background: rgba(10,36,99,0.05);
}

.calc-progress-step.completed {
    color: #10b981;
    background: rgba(16,185,129,0.05);
}

.calc-progress-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    font-size: 13px;
    margin-right: 8px;
    transition: all 0.3s;
}

.calc-progress-step.active .step-num {
    background: var(--primary);
    color: #fff;
}

.calc-progress-step.completed .step-num {
    background: #10b981;
    color: #fff;
}

.calc-step {
    display: none;
    padding: 40px;
}

.calc-step.active {
    display: block;
}

.calc-step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.calc-step > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

.calc-field {
    margin-bottom: 24px;
}

.calc-field label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.calc-field select,
.calc-field input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: border-color 0.3s;
}

.calc-field select:focus,
.calc-field input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.calc-radio-card {
    position: relative;
    cursor: pointer;
}

.calc-radio-card input {
    position: absolute;
    opacity: 0;
}

.calc-radio-card .card-label {
    display: block;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s;
}

.calc-radio-card .card-label strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.calc-radio-card .card-label span {
    font-size: 13px;
    color: var(--text-light);
}

.calc-radio-card input:checked + .card-label {
    border-color: var(--primary);
    background: rgba(10,36,99,0.04);
}

.calc-radio-card input:checked + .card-label strong {
    color: var(--primary);
}

.calc-yn-group {
    display: flex;
    gap: 12px;
}

.calc-yn-group label {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.calc-yn-group input {
    position: absolute;
    opacity: 0;
}

.calc-yn-group .yn-label {
    display: block;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    color: var(--text-medium);
    transition: all 0.3s;
}

.calc-yn-group input:checked + .yn-label {
    border-color: var(--primary);
    background: rgba(10,36,99,0.04);
    color: var(--primary);
}

.calc-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calc-input-prefix {
    position: relative;
}

.calc-input-prefix::before {
    content: '$';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

.calc-input-prefix input {
    padding-left: 30px !important;
}

.calc-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.calc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.calc-btn-prev {
    background: var(--bg-alt);
    color: var(--text-medium);
}

.calc-btn-prev:hover {
    background: var(--border);
}

.calc-btn-next,
.calc-btn-submit {
    background: var(--primary);
    color: #fff;
}

.calc-btn-next:hover,
.calc-btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10,36,99,0.3);
}

.calc-btn-submit {
    background: var(--secondary);
}

.calc-btn-submit:hover {
    background: var(--secondary-light);
    box-shadow: 0 4px 15px rgba(196,30,58,0.3);
}

/* Calculator Result */
.calc-result {
    display: none;
    padding: 40px;
    text-align: center;
}

.calc-result.active {
    display: block;
}

.calc-result-range {
    margin: 24px 0;
}

.calc-result-range .range-label {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.calc-result-range .range-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.calc-result-range .range-separator {
    display: inline-block;
    margin: 0 12px;
    color: var(--text-light);
    font-size: 24px;
}

.calc-breakdown {
    max-width: 500px;
    margin: 30px auto;
    text-align: left;
}

.calc-breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.calc-breakdown-item .item-label {
    color: var(--text-medium);
}

.calc-breakdown-item .item-value {
    font-weight: 700;
    color: var(--text-dark);
}

.calc-disclaimer {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0;
    text-align: left;
    font-size: 14px;
    color: #92400e;
    line-height: 1.7;
}

.calc-disclaimer i {
    color: #f59e0b;
    margin-right: 6px;
}

.calc-result-cta {
    margin-top: 30px;
}

.calc-result-cta p {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.calc-btn-reset {
    background: none;
    border: 2px solid var(--border);
    color: var(--text-medium);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 12px;
    transition: all 0.3s;
}

.calc-btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Calculator nav highlight */
.nav-menu a[href="/calculator"] {
    color: var(--secondary) !important;
    font-weight: 700 !important;
}

/* Calculator preview section on homepage */
.calculator-preview {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.calculator-preview h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
}

.calculator-preview p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.calculator-preview .calc-preview-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.calculator-preview .calc-preview-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.calculator-preview .calc-preview-features i {
    color: var(--accent);
}

/* ==========================================
   Floating Contact Buttons
   ========================================== */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.float-whatsapp { background: #25D366; }
.float-wechat { background: #07C160; }
.float-phone { background: var(--secondary); }

/* WeChat QR Code Modal */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.wechat-modal-close:hover {
    color: var(--text-dark);
}

.wechat-modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.wechat-modal-content img {
    width: 220px;
    height: 220px;
    margin: 16px auto;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.wechat-modal-content .wechat-id {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.wechat-modal-content .wechat-tip {
    font-size: 13px;
    color: var(--text-light);
}

/* ==========================================
   Responsive - Calculator & Floating Buttons
   ========================================== */

@media (max-width: 768px) {
    .calc-progress-step {
        font-size: 12px;
        padding: 12px 8px;
    }
    .calc-progress-step .step-num {
        display: block;
        margin: 0 auto 4px;
    }
    .calc-step {
        padding: 24px 20px;
    }
    .calc-radio-group {
        grid-template-columns: 1fr;
    }
    .calc-input-row {
        grid-template-columns: 1fr;
    }
    .calc-result-range .range-value {
        font-size: 28px;
    }
    .calc-result-range .range-separator {
        display: block;
        margin: 8px 0;
        font-size: 18px;
    }
    .floating-buttons {
        bottom: 20px;
        right: 16px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .calculator-preview h2 {
        font-size: 26px;
    }
}
