/* ============================================================
   NORNA — Main Stylesheet
   Bootstrap 5 + Custom styles
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary:        #0a3d62;
    --primary-light:  #1a6fa8;
    --secondary:      #FC3C3C;
    --secondary-dark: #FC3C3C;
    --accent:         #e74c3c;
    --dark:           #1a1a2e;
    --text:           #444444;
    --text-light:     #777777;
    --border:         #e8ecef;
    --bg-light:       #f8f9fc;
    --bg-white:       #ffffff;
    --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
    --shadow-md:      0 6px 24px rgba(0,0,0,.12);
    --shadow-lg:      0 12px 40px rgba(0,0,0,.16);
    --radius:         10px;
    --radius-lg:      16px;
    --transition:     all .25s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--bg-white);
    line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- Utility ---------- */
.text-primary-norna { color: var(--primary) !important; }
.text-secondary-norna { color: var(--secondary) !important; }
.bg-primary-norna { background: var(--primary) !important; }
.bg-secondary-norna { background: var(--secondary) !important; }
.bg-light-norna { background: var(--bg-light) !important; }

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 3rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    margin: 0 auto 1rem;
}

.btn-primary-norna {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
}
.btn-primary-norna:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-norna {
    background: var(--secondary);
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
}
.btn-secondary-norna:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-norna {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 11px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
}
.btn-outline-norna:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar-norna {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

.navbar-norna .navbar-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.navbar-norna .navbar-brand .logo {
    width: 230px;
}

.navbar-norna .navbar-brand span {
    color: var(--secondary);
}

.navbar-norna .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
}

.navbar-norna .nav-link:hover,
.navbar-norna .nav-link.active {
    color: var(--primary) !important;
    background: rgba(10, 61, 98, .07);
}

.navbar-norna .btn-list {
    background: var(--primary);
    color: #fff !important;
    padding: 9px 22px !important;
    border-radius: var(--radius);
    font-weight: 600;
}

.navbar-norna .btn-list:hover {
    background: var(--primary-light);
    color: #fff !important;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .hero-badge {
    display: inline-block;
    background: #fc3c3c80;
    color: #ffffff;
    border: 1px solid #fc3c3c70;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: .5px;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

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

.hero-section p.lead {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.2rem;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.hero-stat .label {
    font-size: .82rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Search Box */
.search-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 8px 8px 8px 20px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    gap: 10px;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: .98rem;
    color: var(--dark);
    background: transparent;
    padding: 8px 4px;
}

.search-box .search-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.search-box .location-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    color: var(--text-light);
    font-size: .92rem;
    flex: 0 0 auto;
}

.search-box .location-input i {
    color: var(--secondary);
}

.search-box .btn-search {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
    transition: var(--transition);
}

.search-box .btn-search:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

.popular-searches {
    color: rgba(255,255,255,.75);
    font-size: .88rem;
}

.popular-searches a {
    color: rgba(255,255,255,.9);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.popular-searches a:hover { color: var(--secondary); }

/* Hero Image */
.hero-img-wrap {
    position: relative;
}

.hero-img-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-floating-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    font-size: .88rem;
}

.hero-floating-card.card-1 {
    bottom: 20px;
    left: -20px;
}

.hero-floating-card.card-2 {
    top: 20px;
    right: -20px;
}

.hero-floating-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 4px;
}

/* ---------- Category Section ---------- */
.categories-section {
    padding: 70px 0;
    background: var(--bg-white);
}

.category-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.category-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.category-card:hover .icon-wrap {
    transform: scale(1.1);
}

.category-card h6 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.category-card span.count {
    font-size: .78rem;
    color: var(--text-light);
}

/* ---------- Featured Listings ---------- */
.featured-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.listing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

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

.listing-card .card-banner {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.listing-card .card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.listing-card:hover .card-banner img {
    transform: scale(1.05);
}

.listing-card .badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: .3px;
}

.listing-card .badge-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10,61,98,.85);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

.listing-card .card-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
    margin-top: -26px;
    margin-left: 16px;
    position: relative;
    z-index: 1;
    background: #fff;
}

.listing-card .card-body {
    padding: 10px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-card .listing-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    margin-top: 8px;
}

.listing-card .listing-desc {
    font-size: .85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card .listing-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: auto;
}

.listing-card .listing-meta i {
    color: var(--secondary);
}

/* ---------- How It Works ---------- */
.how-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    position: relative;
    transition: var(--transition);
}

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

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(245,166,35,.35);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
}

.step-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.step-card p {
    font-size: .9rem;
    color: var(--text-light);
    margin: 0;
}

/* ---------- Pricing Section ---------- */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 2.5rem;
    font-size: .95rem;
    font-weight: 500;
}

.pricing-toggle .form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.save-badge {
    background: #d4edda;
    color: #155724;
    font-size: .78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-left: 6px;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 2px solid var(--border);
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured-plan {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background: var(--primary);
    color: #fff;
}

.pricing-card.featured-plan h3,
.pricing-card.featured-plan h2,
.pricing-card.featured-plan p,
.pricing-card.featured-plan li {
    color: #fff !important;
}

.pricing-card .plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.pricing-card.featured-plan .price { color: var(--secondary); }

.pricing-card .price sup {
    font-size: 1.2rem;
    font-weight: 700;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}

.pricing-card .price sub {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-card.featured-plan .price sub { color: rgba(255,255,255,.7); }

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    flex: 1;
}

.pricing-card .plan-features li {
    padding: 8px 0;
    font-size: .9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.pricing-card .plan-features li:last-child { border-bottom: none; }

.pricing-card .plan-features li i.check { color: #27ae60; }
.pricing-card .plan-features li i.cross { color: #e74c3c; }

.pricing-card.featured-plan .plan-features li { border-bottom-color: rgba(255,255,255,.15); }
.pricing-card.featured-plan .plan-features li i.check { color: #82e0a0; }
.pricing-card.featured-plan .plan-features li i.cross { color: rgba(255,255,255,.4); }

.pricing-card .btn-plan {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .95rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transition: var(--transition);
}

.pricing-card .btn-plan:hover {
    background: var(--primary);
    color: #fff;
}

.pricing-card.featured-plan .btn-plan {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.pricing-card.featured-plan .btn-plan:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* ---------- Stats Section ---------- */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
    color: #fff;
}

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

.stat-item .number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.stat-item .label {
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonial-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: .5rem;
    opacity: .3;
}

.testimonial-card p {
    font-size: .95rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.2rem;
}

.testimonial-card .author-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author-info .name {
    font-weight: 700;
    color: var(--dark);
    font-size: .9rem;
}

.testimonial-card .author-info .role {
    font-size: .8rem;
    color: var(--text-light);
}

.stars { color: var(--secondary); font-size: .9rem; margin-bottom: .8rem; }

/* ---------- CTA Banner ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */
.footer-main {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    padding: 70px 0 30px;
}

.footer-main h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: .3px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: .8rem;
    display: block;
}

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

.footer-brand .logo { 
    width: 270px; 
}

.footer-desc {
    font-size: .88rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    margin-top: 48px;
    font-size: .84rem;
    color: rgba(255,255,255,.5);
}

/* ---------- Listings Page ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    color: #fff;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
}

.page-hero .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .page-hero .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

.filter-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.filter-sidebar h6 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.filter-sidebar .form-check-label {
    font-size: .9rem;
    color: var(--text);
    cursor: pointer;
}

.filter-sidebar .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.listings-toolbar {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.listings-toolbar .result-count {
    font-size: .9rem;
    color: var(--text-light);
}

.listings-toolbar .result-count strong {
    color: var(--dark);
}

.view-toggle .btn {
    padding: 6px 10px;
    border-color: var(--border);
    color: var(--text-light);
    font-size: .85rem;
}

.view-toggle .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Listing Card List View */
.listing-card-list {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    margin-bottom: 16px;
}

.listing-card-list:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.listing-card-list .listing-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.listing-card-list .listing-info { flex: 1; min-width: 0; }

.listing-card-list .listing-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.listing-card-list .listing-desc {
    font-size: .88rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card-list .meta-row {
    display: flex;
    gap: 16px;
    font-size: .82rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.listing-card-list .meta-row i { color: var(--secondary); }

/* ---------- Listing Detail ---------- */
.listing-detail-hero {
    background: var(--bg-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.listing-banner {
    height: 340px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.listing-logo-lg {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--shadow-md);
    margin-top: -45px;
    position: relative;
    z-index: 1;
}

.listing-detail-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.listing-detail-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 12px;
    transition: var(--transition);
    border: 2px solid;
}

.contact-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-btn.website { border-color: var(--primary); color: var(--primary); }
.contact-btn.phone   { border-color: #27ae60; color: #27ae60; }
.contact-btn.whatsapp { border-color: #25d366; background: #25d366; color: #fff; }
.contact-btn.whatsapp:hover { background: #20b759; color: #fff; }

.map-placeholder {
    height: 280px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: .9rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    font-size: .88rem;
}

.hours-grid .day { font-weight: 600; color: var(--dark); }
.hours-grid .time { color: var(--text-light); }

/* ---------- Pricing Page ---------- */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.pricing-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.pricing-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; }

/* Comparison table */
.comparison-table {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.comparison-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    padding: 14px 20px;
}

.comparison-table th.highlighted { background: var(--secondary); }

.comparison-table td {
    padding: 14px 20px;
    font-size: .9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--bg-light); }
.comparison-table td i.check { color: #27ae60; font-size: 1rem; }
.comparison-table td i.cross { color: #e74c3c; font-size: 1rem; }

/* ---------- About Page ---------- */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}
.about-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 900; }
.about-hero p { color: rgba(255,255,255,.85); }

.value-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.value-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

/* ---------- Contact Page ---------- */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}
.contact-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 900; }

.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(10,61,98,.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

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

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .93rem;
    color: var(--dark);
    transition: var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,61,98,.1);
}

.contact-form-card label {
    font-weight: 600;
    font-size: .88rem;
    color: var(--dark);
    margin-bottom: 6px;
}

/* ---------- Pagination ---------- */
.pagination-wrap .page-link {
    color: var(--primary);
    border-radius: var(--radius);
    margin: 0 2px;
    padding: 8px 14px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    font-size: .88rem;
}

.pagination-wrap .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---------- Badge Styles ---------- */
.badge-primary-soft {
    background: rgba(10,61,98,.1);
    color: var(--primary);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: .78rem;
}

.badge-secondary-soft {
    background: rgba(245,166,35,.12);
    color: var(--secondary-dark);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: .78rem;
}

/* ---------- Swiper Overrides ---------- */
.swiper-pagination-bullet-active {
    background: var(--secondary) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: #fff;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 900;
}

/* ---------- AOS ---------- */
[data-aos] { transition-property: opacity, transform !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section-pad { padding: 60px 0; }
    .hero-section { padding: 70px 0 60px; }
    .hero-stats { gap: 20px; }
    .search-box { flex-wrap: wrap; padding: 12px; }
    .search-box .search-divider { display: none; }
    .search-box .location-input { width: 100%; border-top: 1px solid var(--border); padding-top: 10px; }
    .filter-sidebar { position: static; }
}

@media (max-width: 767.98px) {
    .section-title { font-size: 1.7rem; }
    .hero-section h1 { font-size: 1.9rem; }
    .hero-floating-card { display: none; }
    .pricing-card { margin-bottom: 24px; }
    .listings-toolbar { flex-direction: column; align-items: flex-start; }
    .listing-card-list { flex-direction: column; }
    .listing-card-list .listing-logo { width: 60px; height: 60px; }
    .contact-form-card { padding: 24px 16px; }
}

@media (max-width: 575.98px) {
    .search-box { border-radius: var(--radius); }
    .hero-stats .stat-item .number { font-size: 1.4rem; }
    .category-card { padding: 20px 12px; }
    .category-card .icon-wrap { width: 52px; height: 52px; font-size: 1.3rem; }
}
