@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --lp-primary: #0f766e;
    --lp-primary-dark: #0d5c56;
    --lp-secondary: #2563eb;
    --lp-accent: #f59e0b;
    --lp-dark: #0f172a;
    --lp-muted: #64748b;
    --lp-light: #f8fafc;
    --lp-white: #ffffff;
    --lp-radius: 16px;
    --lp-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --lp-shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    color: var(--lp-dark);
    background: var(--lp-white);
    direction: rtl;
    text-align: right;
}

.lp-navbar {
    background: rgba(15, 118, 110, 0.92) !important;
    backdrop-filter: blur(12px);
    padding: 0.75rem 0 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, padding 0.3s ease;
}

.lp-navbar.scrolled {
    background: rgba(15, 118, 110, 0.98) !important;
    padding: 0.5rem 0 !important;
}

.lp-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--lp-white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-navbar .navbar-brand span {
    opacity: 0.85;
    font-weight: 500;
    font-size: 0.85rem;
}

.lp-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lp-navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--lp-white) !important;
}

.lp-navbar .nav-cta {
    background: var(--lp-white) !important;
    color: var(--lp-primary) !important;
    font-weight: 700 !important;
}

.lp-navbar .nav-cta:hover {
    background: #ecfdf5 !important;
    color: var(--lp-primary-dark) !important;
}

.lp-navbar .nav-cta-outline {
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    color: var(--lp-white) !important;
}

.lp-navbar .nav-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--lp-white) !important;
}

@media (max-width: 991px) {
    .lp-navbar .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        font-size: 1.5rem;
        color: var(--lp-white);
        z-index: 1000001;
    }

    .lp-navbar .navbar-toggler-icon {
        width: auto;
        height: auto;
        background: none;
    }

    .lp-navbar .navbar-collapse {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: var(--lp-white);
        z-index: 1000000;
        overflow-y: auto;
        transition: right 0.25s ease-out;
        display: block !important;
        padding-top: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .lp-navbar .navbar-collapse.show {
        right: 0;
    }

    .lp-navbar .navbar-collapse.collapsing {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        transition: right 0.25s ease-out !important;
    }

    .lp-navbar .navbar-collapse:not(.show) {
        pointer-events: none;
    }

    .lp-navbar .navbar-collapse .navbar-nav {
        padding: 0.5rem 1rem 1.5rem;
        flex-direction: column;
        align-items: stretch !important;
    }

    .lp-navbar .navbar-collapse .nav-item {
        width: 100%;
        margin: 0 0 0.25rem;
    }

    .lp-navbar .navbar-collapse .nav-link {
        color: var(--lp-dark) !important;
        display: block;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        text-align: right;
    }

    .lp-navbar .navbar-collapse .nav-link:hover {
        background: var(--lp-light);
        color: var(--lp-primary) !important;
    }

    .lp-navbar .navbar-collapse .nav-cta {
        background: var(--lp-primary) !important;
        color: var(--lp-white) !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .lp-navbar .navbar-collapse .nav-cta:hover {
        background: var(--lp-primary-dark) !important;
        color: var(--lp-white) !important;
    }

    .lp-navbar .navbar-collapse .nav-cta-outline {
        border: 2px solid var(--lp-primary) !important;
        color: var(--lp-primary) !important;
        background: transparent !important;
        text-align: center;
    }

    .lp-navbar .navbar-collapse .nav-cta-outline:hover {
        background: rgba(15, 118, 110, 0.08) !important;
        color: var(--lp-primary) !important;
    }

    .lp-navbar .navbar-collapse .close-menu {
        color: var(--lp-dark);
        font-size: 1.5rem;
        line-height: 1;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-overlay .lp-navbar {
        position: fixed !important;
        width: 100%;
        z-index: 1000001;
    }

    .sidebar-overlay .lp-navbar .navbar-collapse {
        z-index: 1000000;
    }

    body.sidebar-overlay {
        overflow: hidden;
    }

    #mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
    }

    body.sidebar-overlay #mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.lp-hero {
    position: relative;
    overflow: hidden;
    background: #0f766e url('../images/hero.png') no-repeat center right;
    background-size: cover;
    min-height: 580px;
    padding: 7.5rem 0 5.5rem;
    color: var(--lp-white);
    display: flex;
    align-items: center;
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 70, 65, 0.97) 0%,
        rgba(10, 82, 76, 0.92) 28%,
        rgba(12, 90, 84, 0.72) 42%,
        rgba(15, 100, 94, 0.35) 58%,
        transparent 72%
    );
    pointer-events: none;
}

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

.lp-hero-content {
    max-width: 560px;
    margin-right: auto;
    margin-left: 0;
    text-align: right;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.lp-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.lp-hero-lead {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    max-width: 540px;
    margin-bottom: 2rem;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn-primary {
    background: var(--lp-white);
    color: var(--lp-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.lp-btn-primary:hover {
    background: #ecfdf5;
    color: var(--lp-primary-dark);
}

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

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

.lp-stats {
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    padding: 1.5rem;
}

.lp-stat {
    text-align: center;
    padding: 0.5rem;
}

.lp-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-primary);
    line-height: 1.2;
}

.lp-stat span {
    color: var(--lp-muted);
    font-size: 0.9rem;
}

.lp-section {
    padding: 5rem 0;
}

.lp-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.lp-section-header .label {
    display: inline-block;
    color: var(--lp-primary);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.lp-section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.lp-section-header p {
    color: var(--lp-muted);
    line-height: 1.9;
    margin: 0;
}

.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-service-card {
    background: var(--lp-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow);
    border-color: #99f6e4;
}

.lp-service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #ccfbf1, #dbeafe);
    color: var(--lp-primary);
}

.lp-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.lp-service-card p {
    color: var(--lp-muted);
    line-height: 1.85;
    margin: 0;
    font-size: 0.95rem;
}

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

.lp-slider-wrap {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow-lg);
}

.lp-slide {
    display: none;
}

.lp-slide.active {
    display: block;
    animation: lp-fadeIn 0.6s ease;
}

.lp-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

@keyframes lp-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lp-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--lp-dark);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease;
    z-index: 2;
}

.lp-slider-nav:hover {
    background: var(--lp-white);
}

.lp-slider-nav.prev { right: 16px; }
.lp-slider-nav.next { left: 16px; }

.lp-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.lp-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lp-slider-dot.active {
    background: var(--lp-primary);
    transform: scale(1.2);
}

.lp-about {
    background: var(--lp-white);
}

.lp-about-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.lp-about-content .subtitle {
    color: var(--lp-primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.lp-about-content p {
    color: var(--lp-muted);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.lp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-weight: 500;
}

.lp-feature-list li img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.lp-about-visual img {
    max-width: 100%;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
}

/* ── Footer CTA ── */
.lp-footer-cta {
    padding: 0 0 0;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.lp-footer-cta-inner {
    background: linear-gradient(135deg, #0f766e, #1e40af);
    border-radius: var(--lp-radius);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--lp-shadow-lg);
    color: var(--lp-white);
}

.lp-footer-cta-text h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.lp-footer-cta-text p {
    margin: 0;
    opacity: 0.88;
    line-height: 1.8;
}

.lp-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

.lp-footer-cta .lp-btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
}

/* ── Footer main ── */
.lp-footer {
    position: relative;
    overflow: hidden;
    background: #0c4a44;
    color: rgba(255, 255, 255, 0.92);
    padding: 0;
    width: 100%;
    height: auto;
    margin-top: -3rem;
    padding-top: 5rem;
}

.lp-footer-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 74, 68, 0.92) 0%, rgba(15, 58, 53, 0.97) 100%),
        url('../images/tehran-footer.png') no-repeat center bottom;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

.lp-footer-top {
    position: relative;
    z-index: 1;
    padding: 3rem 0 2.5rem;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
}

.lp-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--lp-white) !important;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none !important;
    margin-bottom: 1rem;
}

.lp-footer-logo i {
    font-size: 1.6rem;
    opacity: 0.9;
}

.lp-footer-desc {
    line-height: 2;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.925rem;
    margin-bottom: 0;
    max-width: 320px;
}

.lp-footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.lp-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--lp-accent);
}

.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-links li {
    margin-bottom: 0.55rem;
}

.lp-footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lp-footer-links a i {
    font-size: 1rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

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

.lp-footer-links a:hover i {
    transform: translateX(-3px);
    opacity: 1;
}

.lp-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.lp-footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-footer-contact-icon i {
    font-size: 1.1rem;
    color: #99f6e4;
}

.lp-footer-contact strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.15rem;
}

.lp-footer-contact p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.lp-footer-contact a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-footer-contact a:hover {
    color: #99f6e4;
}

.lp-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.lp-social a {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lp-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.lp-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.lp-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
}

.lp-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lp-footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.lp-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lp-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.lp-footer-bottom-links a:hover {
    color: var(--lp-white);
}

.lp-footer-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
}

.lp-empty-slider {
    background: var(--lp-white);
    border: 2px dashed #cbd5e1;
    border-radius: var(--lp-radius);
    padding: 3rem;
    text-align: center;
    color: var(--lp-muted);
}

@media (max-width: 991px) {
    .lp-hero,
    .lp-page-hero {
        min-height: auto;
        background-position: 70% center;
    }

    .lp-hero {
        padding: 6.5rem 0 4rem;
    }

    .lp-page-hero {
        padding: 6.5rem 0 3rem;
    }

    .lp-hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(8, 70, 65, 0.95) 0%,
            rgba(10, 82, 76, 0.88) 55%,
            rgba(12, 90, 84, 0.6) 100%
        );
    }

    .lp-hero-content,
    .lp-page-hero-inner {
        max-width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .lp-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-hero-actions {
        justify-content: center;
    }

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

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

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .lp-footer-brand {
        grid-column: 1 / -1;
    }

    .lp-footer-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .lp-footer-cta-actions {
        justify-content: center;
    }

    .lp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .lp-about-visual {
        margin-top: 2rem;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .lp-stats-grid {
        grid-template-columns: 1fr 1fr;
        padding: 1rem;
    }

    .lp-stat strong {
        font-size: 1.35rem;
    }

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

    .lp-footer-cta-actions {
        width: 100%;
    }

    .lp-footer-cta-actions .lp-btn {
        width: 100%;
    }
}

/* ── Inner pages ── */
.lp-inner-page {
    background: var(--lp-light);
}

.lp-page-hero {
    position: relative;
    overflow: hidden;
    background: #0f766e url('../images/hero.png') no-repeat center right;
    background-size: cover;
    color: var(--lp-white);
    min-height: 420px;
    padding: 7rem 0 3.5rem;
    display: flex;
    align-items: center;
}

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

.lp-page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-right: auto;
    margin-left: 0;
    text-align: right;
}

.lp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    transition: color 0.2s ease;
}

.lp-back-link:hover {
    color: var(--lp-white);
}

.lp-page-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.lp-page-hero p {
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.lp-page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.lp-page-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

/* ── Agencies list ── */
.lp-agencies-section {
    padding: 2.5rem 0 4rem;
}

.lp-agencies-toolbar {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.lp-agencies-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.lp-filter-search {
    flex: 1 1 280px;
    position: relative;
}

.lp-filter-search i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lp-muted);
    font-size: 1.2rem;
    pointer-events: none;
}

.lp-filter-search input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-filter-search input:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.lp-filter-state {
    position: relative;
    flex: 0 1 200px;
}

.lp-filter-state select {
    width: 100%;
    appearance: none;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.8rem 2.25rem 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--lp-white);
    cursor: pointer;
}

.lp-filter-state select:focus {
    outline: none;
    border-color: var(--lp-primary);
}

.lp-filter-state > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lp-muted);
    pointer-events: none;
}

.lp-filter-submit {
    padding: 0.8rem 1.4rem !important;
}

.lp-btn-outline-dark {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--lp-muted);
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-btn-outline-dark:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-agencies-meta {
    margin-bottom: 1.25rem;
    color: var(--lp-muted);
    font-size: 0.9rem;
}

.lp-agencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-agency-card {
    background: var(--lp-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius);
    padding: 1.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-agency-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
    border-color: #99f6e4;
}

.lp-agency-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.lp-agency-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ccfbf1, #dbeafe);
    color: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.lp-agency-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    line-height: 1.5;
}

.lp-agency-location {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--lp-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.lp-agency-location i {
    font-size: 1rem;
}

.lp-agency-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lp-agency-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lp-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.lp-agency-phone:hover {
    color: var(--lp-primary);
}

.lp-agency-phone i {
    color: var(--lp-primary);
}

.lp-agency-address {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.875rem;
    line-height: 1.85;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.lp-agency-address i {
    color: #94a3b8;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.lp-agencies-empty {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    padding: 4rem 2rem;
    text-align: center;
}

.lp-agencies-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #94a3b8;
}

.lp-agencies-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lp-agencies-empty p {
    color: var(--lp-muted);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.lp-agencies-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.lp-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.lp-pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: var(--lp-white);
    color: var(--lp-dark);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lp-pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
}

.lp-pagination-btn.active {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: var(--lp-white);
}

.lp-pagination-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.lp-footer-compact {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 991px) {
    .lp-agencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-filter-state {
        flex: 1 1 180px;
    }
}

@media (max-width: 575px) {
    .lp-agencies-grid {
        grid-template-columns: 1fr;
    }

    .lp-agencies-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-filter-state {
        flex: 1 1 auto;
    }

    .lp-filter-submit,
    .lp-filter-reset {
        width: 100%;
        justify-content: center;
    }
}
