/*
Theme Name: EmdadKhodro-Pro
Theme URI: https://emdadkhodro24saate.com
Description: Mobile-first, high-converting, SEO-optimized theme for Emdad Khodro
Version: 4.2
Author: System Manager
Author URI: https://emdadkhodro24saate.com
Text Domain: emdadkhodro
*/

:root {
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --secondary-color: #2c3e50;
    --accent-color: #27ae60;
    --accent-dark: #219a52;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f4f6f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --max-w: 1200px;
}

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

html {
    scroll-behavior: smooth;
    direction: rtl;
    text-align: right;
}

/* ═══════════════════════════════════════════
   RTL FOUNDATION — EVERYTHING FLOWS RIGHT
   ═══════════════════════════════════════════ */

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
    text-align: right;
}

ul, ol {
    list-style: none;
    text-align: right;
    padding-right: 0;
    padding-left: 0;
}

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

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    text-align: right;
}

/* ═══════════════════════════════════════════
   HEADER — FULL WIDTH DARK BAR
   ═══════════════════════════════════════════ */

.site-header {
    background: var(--secondary-color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    text-align: right;
}

.header-inner {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    text-align: right;
    height: 64px;
}

/* Logo — pushed to right (start in RTL) */
.logo {
    flex-shrink: 0;
    text-align: right;
}

.logo a {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    text-align: right;
}

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

/* Menu toggle — hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   NAVIGATION — HORIZONTAL LIST
   ═══════════════════════════════════════════ */

.main-nav {
    display: flex;
    align-items: center;
    direction: rtl;
}

.nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
    direction: rtl;
    text-align: right;
}

.nav-list > li {
    position: relative;
    text-align: right;
}

.nav-list > li > a {
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: right;
    direction: rtl;
}

.nav-list > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-list > li > a i {
    font-size: 0.7rem;
    margin-left: 4px;
}

/* ═══════════════════════════════════════════
   DROPDOWN — HIDDEN BY DEFAULT, SHOW ON HOVER
   ═══════════════════════════════════════════ */

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: var(--bg-white);
    min-width: 260px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 1001;
    text-align: right;
    direction: rtl;
}

.has-dropdown:hover > .dropdown {
    display: block;
}

.dropdown li {
    text-align: right;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: background 0.2s;
    text-align: right;
    direction: rtl;
}

.dropdown li a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.dropdown li a i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* Header CTA button — pushed to left (end in RTL) */
.header-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    animation: pulse-glow 2s infinite;
    flex-shrink: 0;
    direction: ltr;
    text-align: left;
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--primary-dark);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(231,76,60,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(231,76,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

/* ═══════════════════════════════════════════
   HERO SECTION — CENTERED, FULL WIDTH
   ═══════════════════════════════════════════ */

.hero-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%);
    color: #fff;
    padding: 50px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39,174,96,0.08) 0%, transparent 70%);
    animation: hero-glow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes hero-glow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(39,174,96,0.2);
    color: var(--accent-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid rgba(39,174,96,0.3);
}

.hero-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: center;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-color);
    color: #fff;
    padding: 18px 40px;
    border-radius: 60px;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(39,174,96,0.4);
    animation: cta-pulse 2s infinite;
    text-align: center;
    justify-content: center;
}

.hero-cta-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(39,174,96,0.5);
}

@keyframes cta-pulse {
    0% { box-shadow: 0 4px 20px rgba(39,174,96,0.4); }
    50% { box-shadow: 0 4px 30px rgba(39,174,96,0.6); }
    100% { box-shadow: 0 4px 20px rgba(39,174,96,0.4); }
}

/* Trust badges row — centered flex */
.hero-trust-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    text-align: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    white-space: nowrap;
}

.trust-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════
   SECTION HEADINGS — CENTERED, RTL ALIGNED
   ═══════════════════════════════════════════ */

.section-isfahan,
.section-provinces,
.section-seo-content,
.section-faq {
    margin: 40px 0;
    text-align: right;
    direction: rtl;
}

.section-isfahan > h2,
.section-provinces > h2,
.section-seo-content > h2,
.section-faq > h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    direction: rtl;
}

.section-isfahan > h2 i,
.section-provinces > h2 i,
.section-seo-content > h2 i,
.section-faq > h2 i {
    color: var(--primary-color);
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 30px;
    direction: rtl;
}

/* ═══════════════════════════════════════════
   SERVICE GRID — CSS GRID, RESPONSIVE
   ═══════════════════════════════════════════ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
    direction: rtl;
    text-align: right;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    direction: rtl;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 14px;
}

.service-card h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 6px;
    text-align: center;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 14px;
    text-align: center;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.2s;
}

.service-cta:hover {
    background: var(--accent-dark);
}

/* ═══════════════════════════════════════════
   LOCATION CHIPS — WRAPPED FLEX
   ═══════════════════════════════════════════ */

.sub-heading {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 16px;
}

.location-chips {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-white);
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    white-space: nowrap;
}

.loc-chip:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.loc-chip-more {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.loc-chip-more:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ═══════════════════════════════════════════
   PROVINCES GRID — CSS GRID
   ═══════════════════════════════════════════ */

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    direction: rtl;
    text-align: right;
}

.province-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    font-size: 0.95rem;
    color: var(--text-color);
    direction: rtl;
    text-align: right;
}

.province-card:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.province-card i {
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.province-card:hover i {
    color: var(--accent-color);
}

/* ═══════════════════════════════════════════
   SEO CONTENT — RTL TEXT BLOCK
   ═══════════════════════════════════════════ */

.section-seo-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    direction: rtl;
    text-align: right;
}

.section-seo-content h2 {
    text-align: right;
    justify-content: flex-start;
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.section-seo-content h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 24px 0 10px;
    padding-left: 12px;
    padding-right: 0;
    border-right: 3px solid var(--primary-color);
    border-left: none;
    text-align: right;
    direction: rtl;
}

.section-seo-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 12px;
    text-align: right;
    direction: rtl;
}

.seo-list {
    padding-right: 20px;
    padding-left: 0;
    text-align: right;
    direction: rtl;
}

.seo-list li {
    position: relative;
    padding: 6px 20px 6px 0;
    color: var(--text-light);
    line-height: 1.8;
    text-align: right;
    direction: rtl;
}

.seo-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    left: auto;
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    direction: rtl;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
    direction: rtl;
}

.faq-toggle {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    text-align: right;
    direction: rtl;
    transition: background 0.2s;
}

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

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: 12px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: right;
    direction: rtl;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-item.open .faq-toggle {
    color: var(--primary-color);
    font-weight: bold;
}

/* ═══════════════════════════════════════════
   FOOTER — 4 COLUMN GRID, RTL
   ═══════════════════════════════════════════ */

.site-footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.85);
    padding: 50px 20px 0;
    margin-top: 50px;
    direction: rtl;
    text-align: right;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    direction: rtl;
    text-align: right;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    direction: rtl;
    text-align: right;
}

.footer-brand h3 i {
    color: var(--accent-color);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
    text-align: right;
    direction: rtl;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    transition: background 0.2s;
    direction: rtl;
}

.footer-cta:hover {
    background: var(--primary-dark);
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    text-align: right;
    direction: rtl;
}

.footer-links li {
    margin-bottom: 8px;
    text-align: right;
    direction: rtl;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color 0.2s;
    text-align: right;
}

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

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════
   FLOATING CTA — FULL WIDTH BOTTOM BAR
   ═══════════════════════════════════════════ */

.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-align: center;
    padding: 16px;
    font-size: 1.3rem;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    animation: cta-pulse 2s infinite;
    direction: rtl;
}

.floating-cta i {
    animation: phone-shake 1.5s infinite;
}

@keyframes phone-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        background: var(--secondary-color);
        padding: 10px 20px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        width: 100%;
        z-index: 1001;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list > li > a {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        justify-content: flex-start;
    }

    .header-cta {
        display: none;
    }

    .hero-hero {
        padding: 30px 16px 40px;
    }

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

    .hero-sub {
        font-size: 1rem;
    }

    .hero-cta-btn {
        font-size: 1.1rem;
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }

    .hero-trust-row {
        gap: 10px;
    }

    .trust-badge {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-card {
        padding: 18px 10px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

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

    .section-seo-content {
        padding: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .floating-cta {
        font-size: 1.1rem;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .province-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .province-card {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

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

/* ═══════════════════════════════════════════
   EXISTING PAGE TEMPLATES (compat)
   ═══════════════════════════════════════════ */

.content-section {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    direction: rtl;
    text-align: right;
}

.content-section h2 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: right;
}

.content-section h3, .content-section h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: right;
}

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

.gallery-grid img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.internal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.internal-links div {
    background: var(--bg-white);
    padding: 15px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: right;
}

.internal-links h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    text-align: right;
}

.internal-links ul {
    list-style: none;
    text-align: right;
}

.internal-links li {
    margin-bottom: 5px;
    text-align: right;
}

.internal-links a {
    color: #555;
}

.internal-links a:hover {
    color: var(--primary-color);
}

/* ═══════════════════════════════════════════
   LANDING PAGE — HERO
   ═══════════════════════════════════════════ */

.lp-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--radius);
    padding: 50px 30px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39,174,96,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.lp-hero-badge {
    display: inline-block;
    background: rgba(39,174,96,0.2);
    color: var(--accent-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid rgba(39,174,96,0.3);
    direction: rtl;
}

.lp-hero h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: center;
}

.lp-hero-sub {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 28px;
    text-align: center;
}

.lp-hero-sub strong {
    color: #fff;
}

.lp-hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.lp-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    border-radius: 60px;
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(231,76,60,0.4);
    animation: pulse-glow 2s infinite;
    white-space: nowrap;
}

.lp-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.lp-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 14px 32px;
    border-radius: 60px;
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    white-space: nowrap;
}

.lp-cta-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.lp-hero-trust {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.lp-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}

.lp-hero-trust span i {
    color: var(--accent-color);
}

/* ═══════════════════════════════════════════
   LANDING PAGE — CONTENT SECTIONS
   ═══════════════════════════════════════════ */

.lp-content-section {
    background: var(--bg-white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    direction: rtl;
    text-align: right;
}

.lp-content-section h2 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    text-align: right;
    direction: rtl;
}

.lp-content-section h2 i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.lp-content-section h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 20px 0 10px;
    text-align: right;
    direction: rtl;
}

.lp-content-section p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 12px;
    text-align: right;
    direction: rtl;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — TROUBLESHOOTING BOX
   ═══════════════════════════════════════════ */

.lp-troubleshooting {
    background: linear-gradient(135deg, #fff8f0, #fff);
    border: 1px solid #ffe0b2;
    border-right: 5px solid #ff9800;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    direction: rtl;
    text-align: right;
}

.lp-troubleshooting h3 {
    color: #e65100;
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    text-align: right;
    direction: rtl;
}

.lp-troubleshooting h3 i {
    color: #ff9800;
    flex-shrink: 0;
}

.lp-troubleshooting ol {
    list-style: none;
    padding: 0;
    counter-reset: none;
    direction: rtl;
    text-align: right;
}

.lp-troubleshooting li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,152,0,0.1);
    color: var(--text-color);
    line-height: 1.7;
    text-align: right;
    direction: rtl;
}

.lp-troubleshooting li:last-child {
    border-bottom: none;
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ff9800;
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — PRICING TABLE
   ═══════════════════════════════════════════ */

.lp-pricing {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    direction: rtl;
    text-align: right;
}

.lp-pricing th {
    background: var(--secondary-color);
    color: #fff;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: right;
    direction: rtl;
}

.lp-pricing td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: right;
    direction: rtl;
}

.lp-pricing tr:nth-child(even) td {
    background: rgba(0,0,0,0.02);
}

.lp-pricing tr:hover td {
    background: rgba(231,76,60,0.04);
}

.lp-pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 12px;
    direction: rtl;
}

.lp-pricing-note i {
    color: #2196f3;
    margin-left: 6px;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — GALLERY GRID
   ═══════════════════════════════════════════ */

.lp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.lp-gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.lp-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.lp-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.lp-gallery-item:hover img {
    transform: scale(1.03);
}

/* ═══════════════════════════════════════════
   LANDING PAGE — LOCAL ACCESS
   ═══════════════════════════════════════════ */

.lp-local {
    background: linear-gradient(135deg, #f0f7ff, #fff);
    border: 1px solid #bbdefb;
}

.lp-local h2 i {
    color: #1976d2;
}

.lp-cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1976d2;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 12px;
    transition: all 0.2s;
}

.lp-cta-inline:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   LANDING PAGE — RELATED LINKS GRID
   ═══════════════════════════════════════════ */

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

.lp-related-col h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    text-align: right;
    direction: rtl;
}

.lp-related-col h4 i {
    color: var(--primary-color);
    margin-left: 6px;
}

.lp-related-col ul {
    list-style: none;
    padding: 0;
    direction: rtl;
    text-align: right;
}

.lp-related-col li {
    margin-bottom: 6px;
    text-align: right;
    direction: rtl;
}

.lp-related-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.2s;
    text-align: right;
    direction: rtl;
}

.lp-related-col a:hover {
    color: var(--primary-color);
}

.lp-related-col a i {
    color: var(--primary-color);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   LANDING PAGE — RECRUITMENT BANNER
   ═══════════════════════════════════════════ */

.lp-recruitment {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid #e94560;
    border-radius: var(--radius);
    padding: 30px 25px;
    margin: 40px 0 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(233,69,96,0.3), 0 0 40px rgba(233,69,96,0.1);
    position: relative;
    overflow: hidden;
}

.lp-recruit-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(233,69,96,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lp-recruitment h3 {
    position: relative;
    z-index: 1;
    color: #f5c518;
    font-size: 1.35rem;
    margin-bottom: 14px;
    text-shadow: 0 0 10px rgba(245,197,24,0.3);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    direction: rtl;
}

.lp-recruitment p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.85);
    text-align: center;
    direction: rtl;
}

.lp-recruit-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lp-recruit-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e94560, #c23152);
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
    transition: all 0.3s;
    white-space: nowrap;
}

.lp-recruit-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233,69,96,0.5);
}

.lp-recruit-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: all 0.3s;
    white-space: nowrap;
}

.lp-recruit-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ═══════════════════════════════════════════
   LANDING PAGE — RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .lp-hero {
        padding: 30px 16px;
    }

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

    .lp-hero-sub {
        font-size: 1rem;
    }

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

    .lp-cta-primary,
    .lp-cta-whatsapp {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }

    .lp-hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .lp-content-section {
        padding: 20px;
    }

    .lp-related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lp-gallery {
        grid-template-columns: 1fr;
    }

    .lp-recruit-actions {
        flex-direction: column;
        align-items: center;
    }

    .lp-recruit-call,
    .lp-recruit-wa {
        width: 100%;
        justify-content: center;
    }

    .lp-pricing th,
    .lp-pricing td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}
