/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Vazirmatn', 'B Nazanin', 'IRANSans', 'Tahoma', sans-serif;
    color: #39414D;
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== LOCAL FONTS: Vazirmatn ===== */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('fonts/Vazirmatn-Thin.woff2') format('woff2');
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('fonts/Vazirmatn-Black.woff2') format('woff2');
}

/* ===== COLORS ===== */
:root {
    --primary: #1B1B2F;
    --accent: #FFAC54;
    --accent-hover: #e89830;
    --dark-bg: #0F0F0F;
    --dark-bg-2: #1a1a1a;
    --text: #39414D;
    --text-light: #7a7a7a;
    --white: #FFFFFF;
    --light-bg: #f8f8f8;
    --border: #BDBDBD;
    --card-shadow: 0 5px 25px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

/* ===== HEADER ===== */
.header {
    background: var(--primary);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    border-bottom: 2px solid rgba(255,172,84,0.15);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.header-user { flex-shrink: 0; order: -1; }
.user-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.user-badge:hover { background: rgba(255,255,255,0.12); border-color: var(--accent); color: #fff; }
.user-badge i { font-size: 14px; color: var(--accent); }
.user-badge.guest { opacity: 0.75; }
.user-badge.guest:hover { opacity: 1; }

.main-nav .nav-menu { display: flex; gap: 2px; padding: 0; margin: 0; list-style: none; }
.main-nav .nav-menu > li { position: relative; }
.main-nav .nav-menu > li > a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 900;
    padding: 8px 12px;
    transition: all 0.3s;
    white-space: nowrap;
    border-radius: 6px;
    position: relative;
    letter-spacing: 0;
}
.main-nav .nav-menu > li > a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.main-nav .nav-menu > li:first-child > a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav .nav-menu > li:first-child > a i { font-size: 15px; }
.main-nav .nav-menu > li:first-child > a:hover { color: #fff; background: rgba(255,172,84,0.15); }

.main-nav .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 12px;
    left: 12px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
    border-radius: 1px;
}
.main-nav .nav-menu > li > a:hover::after { transform: scaleX(1); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 25px; height: 2.5px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    padding: 6px 18px 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255,172,84,0.2);
    transition: all 0.3s;
    flex-shrink: 0;
}
.header-phone:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }
.phone-label { font-size: 11px; color: var(--accent); font-weight: 600; display: none; }
.phone-number { font-size: 18px; font-weight: 900; color: #fff; text-decoration: none; direction: ltr; unicode-bidi: plain; transition: color 0.3s; }
.phone-number:hover { color: var(--accent); }


/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 79vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(215deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 100%);
    clip-path: polygon(0 0, 60% 0, 70% 100%, 0 100%);
}
.hero-content {
    position: relative; z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text-col { flex: 1; margin-top: -40px; }
.hero-images-col {
    flex: 0 0 320px;
    display: flex;
    align-items: stretch;
    position: relative;
}
.hero-images-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,27,47,0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.hero-img {
    flex: 1;
    min-height: 79vh;
    background-size: cover;
    background-position: top center;
    position: relative;
    transform: scaleX(-1);
}
.hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(27,27,47,0.4) 100%);
    pointer-events: none;
}
.hero-images-wrap { flex: 1; display: flex; }
.hero-badge {
    display: inline-block;
    color: #6B4F7A;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.85);
    padding: 6px 18px;
    border-radius: 4px;
}
.hero-subtitle {
    display: block;
    font-size: 22px;
    color: #CCFF00;
    margin-bottom: 10px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(204,255,0,0.5);
}
.hero h1, .hero-title-black {
    font-size: 52px;
    font-weight: 900;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.2;
}
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 6px;
}
.btn-accent {
    background: #00B894;
    color: #fff;
}
.btn-accent:hover { background: #00A37F; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,184,148,0.35); }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: #00B894; color: #fff; transform: translateY(-2px); }
.btn-dark {
    background: var(--primary);
    color: var(--white);
}
.btn-dark:hover { background: var(--accent); color: var(--primary); }
.btn-block { width: 100%; text-align: center; }
.btn-small { padding: 10px 20px; font-size: 12px; }

/* ===== ABOUT SECTION ===== */
.about-section { padding: 80px 0; background: var(--white); }
.about-grid { display: flex; gap: 60px; align-items: flex-start; }
.about-text { flex: 1; }
.about-icon { margin-bottom: 20px; }
.about-text h2 { font-size: 40px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.about-text p { font-size: 16px; color: var(--text); margin-bottom: 15px; line-height: 1.8; }
.about-form { flex: 1; max-width: 450px; }
.contact-form {
    background: var(--primary);
    padding: 30px;
    color: var(--white);
    border-radius: 12px;
    text-align: right;
    direction: rtl;
}
.contact-form h3 { font-size: 24px; margin-bottom: 20px; font-weight: 100; text-align: right; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 14px;
    border-radius: 6px;
    transition: border 0.3s;
    text-align: right;
    direction: rtl;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--accent); }
.contact-form select option { color: #000; background: #fff; }
.form-field { position: relative; margin-bottom: 5px; }
.form-error { display: none; color: #FF6B6B; font-size: 12px; margin: -8px 0 10px 0; text-align: right; }
.form-field.invalid input,
.form-field.invalid textarea { border-color: #FF6B6B !important; }
.form-field.invalid .form-error { display: block; }

/* ===== PRACTICE AREAS ===== */
.practice-section { padding: 80px 0; background: var(--white); }
.section-title {
    font-size: 38px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
    display: block;
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 10px;
}
.practice-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.practice-card { flex: 1; min-width: 250px; border-radius: 10px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.practice-card-image {
    position: relative;
    min-height: 325px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.practice-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.practice-card-content { position: relative; z-index: 2; width: 100%; }
.practice-card-content h3 { font-size: 22px; font-weight: 900; color: #000; margin-bottom: 5px; background: rgba(255,255,255,0.85); display: inline-block; padding: 2px 10px; border-radius: 3px; }
.practice-card-content p { font-size: 14px; color: #000; font-weight: 700; background: rgba(255,255,255,0.8); padding: 4px 8px; border-radius: 3px; display: inline-block; }
.accent-divider {
    width: 50px;
    height: 3px;
    background: #00B894;
    margin: 15px 0;
    border-radius: 2px;
}
.accent-divider.center { margin: 10px auto; }
.practice-cta { text-align: center; margin-top: 40px; }

/* ===== CASES SECTION ===== */
.cases-section {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--white);
}
.cases-section .section-title { color: var(--white); }
.cases-grid { display: flex; gap: 60px; flex-wrap: wrap; }
.case-card { flex: 1; min-width: 250px; }
.case-card h3 { font-size: 22px; font-weight: 100; margin-bottom: 15px; }
.case-card h3 i { color: var(--accent); margin-left: 10px; }
.case-card p { color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 20px; font-size: 15px; }
.case-card-featured {
    background: var(--primary);
    padding: 30px;
    border-radius: 12px;
}
.case-featured-content h3 { font-size: 28px; font-weight: 600; }
.featured-tagline { display: block; color: var(--accent); font-size: 16px; margin: 10px 0; }

/* ===== TEAM SECTION ===== */
.team-section { padding: 80px 0; background: var(--primary); }
.team-grid { display: flex; gap: 60px; align-items: center; }
.team-images-wrap {
    flex: 1;
    display: flex;
    gap: 15px;
    min-height: 437px;
}
.team-image {
    flex: 1;
    min-height: 437px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.3s;
}
.team-image:hover { transform: scale(1.02); }
.team-content { flex: 1; }
.team-content h2 { font-size: 38px; font-weight: 100; color: var(--white); margin-bottom: 15px; }
.team-content p { color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 25px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--primary);
    background-image: url('https://images.unsplash.com/photo-1589391886645-d51941baf4bf?w=1400&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 27, 47, 0.85);
}
.testimonials-section .section-title { color: var(--white); position: relative; z-index: 1; }
.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    min-height: 200px;
}
.testimonial-card {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.testimonial-card.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.stars { color: var(--accent); font-size: 24px; margin-bottom: 20px; }
.testimonial-text {
    color: rgba(255,255,255,0.72);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 100;
}
.testimonial-author { color: var(--accent); font-size: 16px; display: block; }
.testimonial-dots { text-align: center; margin-top: 20px; }
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active { background: var(--accent); }

/* ===== WHY CHOOSE US ===== */
.why-section {
    padding: 80px 0;
    background: var(--dark-bg);
}
.why-header { text-align: center; margin-bottom: 50px; }
.why-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.stat-item {
    text-align: center;
    padding: 20px 30px;
    min-width: 150px;
}
.stat-icon { color: var(--accent); font-size: 30px; margin-bottom: 10px; }
.stat-number { font-size: 36px; font-weight: 100; color: var(--white); }
.stat-label { font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 5px; }
.why-features { display: flex; gap: 30px; flex-wrap: wrap; }
.feature-box {
    flex: 1;
    min-width: 250px;
    background: var(--primary);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s;
}
.feature-box:hover { transform: translateY(-5px); }
.feature-box h3 { color: var(--white); font-size: 20px; margin-bottom: 15px; font-weight: 100; }
.feature-box p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; }

/* ===== HOME FAQ SECTION ===== */
.home-faq-section { padding: 80px 0; background: var(--light-bg); }
.home-faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.home-faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 25px; transition: transform 0.3s, box-shadow 0.3s; }
.home-faq-item:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.home-faq-item h3 { font-size: 16px; margin-bottom: 10px; }
.home-faq-item h3 a { color: var(--primary); text-decoration: none; }
.home-faq-item h3 a:hover { color: var(--accent); }
.home-faq-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.home-faq-cta { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== OFFICES ===== */
.offices-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--dark-bg));
    color: var(--white);
    text-align: center;
}
.offices-intro { color: rgba(255,255,255,0.72); max-width: 700px; margin: 0 auto 40px; font-size: 16px; }
.office-map-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
}
.office-map-col, .office-info-col { flex: 1; }
.office-map-col .map-embed iframe { display: block; height: 100%; min-height: 350px; border-radius: 12px; }
.office-card-side {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.office-card-side h3 { font-size: 24px; color: var(--accent); margin-bottom: 20px; text-align: center; }
.office-card-side p { color: rgba(255,255,255,0.9); margin-bottom: 12px; font-size: 15px; }
.office-card-side p i { margin-left: 8px; color: var(--accent); width: 18px; }
.office-card-side p a { color: var(--accent); }
.direction-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== USEFUL LINKS ===== */
.links-section { padding: 60px 0; background: var(--light-bg); }
.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.link-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 20px;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s;
    border-radius: 8px;
    border: 1px solid var(--border);
    min-width: 200px;
}
.link-card:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.link-card i { font-size: 16px; color: var(--accent); }
.link-card:hover i { color: var(--accent); }

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background: var(--dark-bg);
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.service-card {
    background: var(--primary);
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.service-icon { color: var(--accent); font-size: 36px; margin-bottom: 15px; }
.service-card h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.service-badge {
    display: inline-block;
    background: #00B894;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}
.blog-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover-shadow); }
.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.blog-content { padding: 20px; }
.blog-category {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.blog-content h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.blog-content p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.blog-readmore { color: var(--accent); font-size: 14px; font-weight: 500; }
.blog-readmore:hover { color: var(--accent-hover); }
.blog-cta { text-align: center; margin-top: 40px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg-2);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.footer-col { flex: 1; min-width: 180px; }
.footer-col h4 { color: var(--accent); font-size: 16px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s;
    border-radius: 50%;
}
.social-links a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== FLOATING BUTTONS ===== */
.float-wa, .float-telegram, .float-instagram, .float-twitter, .float-linkedin {
    position: fixed;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    text-decoration: none;
}
.float-wa:hover, .float-telegram:hover, .float-instagram:hover, .float-twitter:hover, .float-linkedin:hover { transform: scale(1.15); color: #fff; }
.float-instagram { bottom: 350px; left: 20px; background: #E4405F; }
.float-twitter { bottom: 280px; left: 20px; background: #000; }
.float-linkedin { bottom: 210px; left: 20px; background: #0A66C2; }
.float-wa { bottom: 140px; left: 20px; background: #25D366; }
.float-telegram { bottom: 70px; left: 20px; background: #0088cc; }

/* ===== ICBAR ARTICLES ===== */
.icbar-articles-section {
    padding: 80px 0;
    background: var(--light-bg);
}
.icbar-articles-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
    margin-top: -20px;
}
.icbar-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s;
}
.icbar-category:hover { box-shadow: var(--card-shadow); }
.icbar-cat-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}
.icbar-cat-title i { color: var(--accent); margin-left: 8px; }
.icbar-articles-list { display: flex; flex-direction: column; gap: 8px; }
.icbar-article-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}
.icbar-article-link:hover {
    background: var(--primary);
    color: var(--white);
}
.icbar-article-link i { color: #e74c3c; font-size: 16px; flex-shrink: 0; }
.icbar-article-link:hover i { color: var(--accent); }

/* ===== PRICING / SERVICES PAGE ===== */
.pricing-section { padding: 80px 0; background: var(--light-bg); }
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.pricing-card {
    flex: 1;
    min-width: 260px;
    max-width: 350px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover-shadow); }
.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 5px 20px rgba(255,172,84,0.15);
}
.pricing-icon { font-size: 40px; color: var(--accent); margin-bottom: 15px; }
.pricing-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 10px; }
.pricing-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}
.pricing-card ul { list-style: none; margin-bottom: 25px; text-align: right; }
.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: var(--text);
}
.pricing-card ul li:before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); margin-left: 10px; }

/* ===== NEWS TICKER ===== */
.news-ticker-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    background: var(--primary);
    border-top: 2px solid var(--accent);
    height: 44px;
    direction: ltr;
}
.news-ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #00B894;
    color: #fff;
    padding: 0 18px;
    height: 100%;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.news-ticker-label i { font-size: 14px; }
.news-ticker-box {
    flex: 1;
    overflow: hidden;
    padding: 0 10px;
    height: 100%;
}
.news-ticker-items {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    height: 100%;
    animation: tickerScroll 60s linear infinite;
    width: max-content;
}
.news-ticker-items:hover { animation-play-state: paused; }
.ticker-item {
    color: #ddd;
    font-size: 13px;
    text-decoration: none;
    padding: 0 8px;
    transition: color 0.2s;
}
.ticker-item:hover { color: var(--accent); }
.ticker-sep {
    color: var(--accent);
    font-size: 14px;
    padding: 0 4px;
    opacity: 0.7;
}
.ticker-item-loading { color: #888; font-size: 13px; padding: 0 10px; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== INNER PAGE COMMON ===== */
.page-hero {
    background: var(--primary);
    padding: 80px 0 40px;
    text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 38px; font-weight: 600; }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 10px; }

/* ===== ATTORNEY PAGE ===== */
.about-attorney { padding: 80px 0; }
.attorney-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.attorney-image {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}
.attorney-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--card-shadow);
}
.attorney-text {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}
.attorney-text h2 { color: var(--primary); font-size: 32px; margin-bottom: 15px; }
.attorney-title {
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}
.attorney-text p { color: var(--text); line-height: 1.9; margin-bottom: 15px; }

/* ===== CONTACT PAGE ===== */
.contact-page-section { padding: 80px 0; }
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-form-col h2, .contact-info-col h2 { margin-bottom: 20px; color: #000; font-weight: 800; }
.contact-form-col .contact-form { background: #f8f8f8; padding: 30px; border-radius: 12px; }
.contact-form-col .contact-form input,
.contact-form-col .contact-form textarea,
.contact-form-col .contact-form select { border: 1px solid #ddd; background: #fff; color: #000; }
.contact-form-col .contact-form input::placeholder,
.contact-form-col .contact-form textarea::placeholder { color: #999; }
.contact-info-box {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-item i {
    font-size: 24px;
    color: var(--accent);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-item strong { color: #000; display: block; }
.contact-info-item a, .contact-info-item span { color: #000; text-decoration: none; }
.contact-map-section { padding: 0 0 80px; }
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

/* ===== RESULTS PAGE ===== */
.results-page-section { padding: 80px 0; }
.results-list { display: flex; flex-direction: column; gap: 20px; }
.result-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.result-item:hover { transform: translateY(-3px); box-shadow: var(--card-hover-shadow); }
.result-item h3 { color: var(--primary); margin-bottom: 10px; font-size: 18px; }
.result-item p { color: var(--text); font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.result-outcome { display: block; color: var(--accent); font-size: 13px; font-weight: 700; }
.result-date { display: block; color: #999; font-size: 12px; margin-top: 5px; }
.results-cta-section { padding: 60px 0; text-align: center; background: var(--light-bg); }
.results-cta-section p { max-width: 700px; margin: 0 auto 30px; }

/* ===== REVIEWS PAGE ===== */
.reviews-page-section { padding: 80px 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}
.review-card {
    background: #f8f8f8;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.review-stars { color: #FFD700; font-size: 22px; margin-bottom: 15px; }
.review-card p { font-style: italic; line-height: 1.8; margin-bottom: 15px; }
.review-author { font-weight: bold; color: var(--primary); display: block; }
.review-meta { display: block; font-size: 14px; color: #888; margin-top: 5px; }
.reviews-cta-section { padding: 60px 0; text-align: center; }
.reviews-cta-section p { max-width: 600px; margin: 0 auto 30px; }

/* ===== LOCATION PAGE ===== */
.location-detail-section { padding: 80px 0; }
.location-cta-section { padding: 40px 0 80px; text-align: center; }
.location-cta-section p { max-width: 700px; margin: 0 auto 30px; }

/* ===== PRACTICE DETAIL PAGE ===== */
.practice-detail-section { padding: 80px 0; }
.practice-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* ===== BLOG PAGE ===== */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.blog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pdf-link {
    background: #e74c3c;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 5px;
    display: inline-block;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 1150px) {
    .main-nav .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 999;
        gap: 5px;
    }
    .main-nav .nav-menu.open { display: flex; }
    .hamburger { display: flex; }
    .main-nav .nav-menu > li > a { padding: 12px 16px; font-size: 16px; }
    .main-nav .nav-menu > li:first-child > a { font-size: 15px; }
}

/* ===== TABLET / SMALL LAYOUT (layout stacks, nav already collapsed) ===== */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; gap: 20px; }
    .hero-text-col { text-align: center; }
    .hero-images-col { flex: none; width: 100%; }
    .hero-img { min-height: 320px; border-radius: 10px; }
    .about-grid { flex-direction: column; gap: 30px; }
    .about-form { max-width: 100%; }
    .team-grid { flex-direction: column; gap: 30px; }
    .team-images-wrap { flex-direction: column; min-height: auto; }
    .team-image { min-height: 280px; width: 100%; }
    .office-map-row { flex-direction: column; }
    .office-map-col .map-embed iframe { min-height: 300px; }
    .results-cards { flex-direction: column; }
    .why-stats { gap: 15px; }
    .footer-grid { gap: 20px; }
    .service-card, .practice-card, .case-card, .pricing-card { min-width: 100%; }
    .blog-card { min-width: 100%; max-width: 100%; }
    .contact-page-grid, .reviews-grid, .practice-detail-grid, .blog-page-grid { grid-template-columns: 1fr; }
    .news-ticker-label { padding: 0 10px; }
    .news-ticker-label span { display: none; }
}

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

    .hero { min-height: 60vh; }
    .hero-content { flex-direction: column; gap: 20px; }
    .hero-text-col { text-align: center; }
    .hero h1, .hero-title-black { font-size: 28px; }
    .hero-badge { font-size: 14px; }
    .hero-subtitle { font-size: 16px; }
    .hero-overlay { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(215deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%); }
    .hero-images-col { flex: none; width: 100%; }
    .hero-img { min-height: 200px; border-radius: 10px; }
    .hero-logo-img { width: 50px; }
    .about-grid { flex-direction: column; }
    .about-form { max-width: 100%; }
    .about-text h2 { font-size: 28px; }
    .section-title { font-size: 26px; }
    .team-grid { flex-direction: column; }
    .team-images-wrap { flex-direction: column; min-height: auto; }
    .team-image { min-height: 250px; width: 100%; }
    .team-content h2 { font-size: 26px; }
    .office-map-row { flex-direction: column; }
    .office-map-col .map-embed iframe { min-height: 250px; }
    .contact-page-grid { grid-template-columns: 1fr !important; gap: 30px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .practice-detail-grid { grid-template-columns: 1fr; }
    .blog-page-grid { grid-template-columns: 1fr; }
    .results-cards { flex-direction: column; }
    .why-stats { gap: 15px; }
    .footer-grid { gap: 20px; }
    .footer-col { min-width: 100%; }
    .social-links { justify-content: center; }
    .about-grid { align-items: stretch; }
    .about-form { width: 100%; max-width: 100%; margin: 0 auto; }
    .contact-form { text-align: center; }
    .contact-form h3 { text-align: center; }
    .contact-form input, .contact-form textarea, .contact-form select { text-align: center; }
    h1, h2, h3, h4, .section-title, .section-subtitle, .page-hero h1, .page-hero p { text-align: center; }
    p, li, .attorney-text, .team-content p, .feature-box p, .result-item p, .home-faq-item p { text-align: justify; }
    .hero-text-col { margin-top: 0; }
    .testimonial-card { display: block; padding: 30px 10px; text-align: center; }
    .testimonial-dots { display: none; }
    .testimonials-slider { min-height: auto; }
    .float-instagram, .float-twitter, .float-linkedin { display: none; }
    .float-wa, .float-telegram { width: 48px; height: 48px; font-size: 22px; }
    .float-wa { bottom: 66px; left: 15px; }
    .float-telegram { bottom: 124px; left: 15px; }
    .service-card { min-width: 100%; }
    .blog-card { min-width: 100%; max-width: 100%; }
    .practice-card { min-width: 100%; }
    .case-card { min-width: 100%; }
    .pricing-card { min-width: 100%; }
    .link-card { min-width: 100%; padding: 10px 14px; font-size: 13px; }
    .news-ticker-label { padding: 0 10px; font-size: 11px; }
    .news-ticker-label span { display: none; }
    .ticker-item { font-size: 12px; }
    .attorney-image, .attorney-text { max-width: 100%; }
    .map-container { height: 280px; }
    .container { padding: 0 15px; }
    .pricing-section .pricing-grid { gap: 20px; }
    .icbar-category { padding: 15px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1, .hero-title-black { font-size: 36px; }
}
@media (max-width: 1024px) {
    .cases-grid { gap: 30px; }
    .practice-grid { gap: 15px; }
    .page-hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero { min-height: 50vh; }
    .hero h1, .hero-title-black { font-size: 24px; }
    .hero-img { min-height: 150px; }
    .stat-number { font-size: 28px; }
    .pricing-card { padding: 25px 15px; }
    .review-card { padding: 25px; }
}
