/* LOCATIONS V2 STYLES (Updated) */

/* Global Helpers */
.text-highlight { color: var(--secondary); }
.text-dimmed { color: var(--text-muted); }
.bg-surface { background-color: var(--surface); }
.bg-dark { background-color: var(--primary); color: var(--white); }
.narrow-container { max-width: 800px; margin: 0 auto; }
.gap-large { gap: 4rem; }
.align-center { align-items: center; }

/* --- Hero Section V2 --- */
.local-hero-v2 {
    background: linear-gradient(to bottom, var(--background) 0%, #fff 100%);
    overflow: hidden;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(184, 134, 11, 0.1);
    color: var(--secondary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(184, 134, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0); }
}

.local-hero-v2 h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
}

.hero-trust {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.trust-avatars {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -10px;
    background: var(--surface);
    object-fit: cover;
}

.more-count {
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
}

.image-wrapper {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: 10%;
    left: -20px;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 260px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.fc-icon { font-size: 1.5rem; }
.fc-text strong { display: block; color: var(--primary); font-size: 0.95rem; }
.fc-text span { font-size: 0.8rem; color: var(--text-muted); }

/* --- Stats Strip --- */
.stats-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.stats-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* --- Problems Grid --- */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.pc-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* --- Insights & Content --- */
.check-list-v2 {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.check-list-v2 li {
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
    color: var(--primary);
}

.check-list-v2 li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

.content-visual { position: relative; }
.visual-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--secondary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

/* --- Industries Grid (New) --- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.industry-card {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.2s;
}

.industry-card:hover {
    border-color: var(--secondary);
    background: var(--surface);
}

.ind-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Process Timeline --- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary); /* Matches bg */
}

.step h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* --- Service Nav Grid (New) --- */
.services-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-nav-card {
    display: block;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.service-nav-card:hover {
    background: #fff;
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.service-nav-card h4 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.service-nav-card span {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-nav-card span::after {
    content: "→";
    transition: transform 0.2s;
}

.service-nav-card:hover span::after {
    transform: translateX(5px);
}


/* --- FAQ V2 --- */
.faq-wrapper-v2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.faq-trigger .icon-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-trigger .icon-toggle::before,
.faq-trigger .icon-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--secondary);
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.faq-trigger .icon-toggle::before { width: 12px; height: 2px; }
.faq-trigger .icon-toggle::after { width: 2px; height: 12px; }

.faq-item.is-open .faq-trigger .icon-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg); 
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-body);
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

/* --- CTA Card Local --- */
.cta-card-local {
    background: var(--surface-highlight);
    background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.cta-text h2 { color: var(--primary); margin-bottom: 1rem; }
.cta-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.or-text { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }
.link-simple { color: var(--primary); text-decoration: underline; }

/* --- Links Cloud --- */
.local-links-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.loc-tag {
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

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

/* --- LOCAL INDEX STYLES (New) --- */

.search-box-fake {
    max-width: 500px;
    margin: 2rem auto 0;
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.search-box-fake .form-control-lg {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
}

.search-box-fake .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.6;
}

.province-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.province-card-v2 {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.province-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.card-header-prov {
    background: var(--surface);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-prov h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.card-body-prov {
    padding: 1.5rem;
    flex-grow: 1;
}

.province-links-v2 {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.province-links-v2 a {
    display: block;
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.province-links-v2 a:hover {
    background: #eef2f6;
    color: var(--primary);
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-pill {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.city-pill:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.card-footer-prov {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: #fcfcfc;
    text-align: center;
}

.card-footer-prov .btn-text {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; }
    .stats-grid-simple { grid-template-columns: 1fr; gap: 1rem; }
    .process-timeline { grid-template-columns: 1fr; gap: 0; }
    .process-timeline::before { display: none; }
    .step { 
        margin-bottom: 2rem; 
        padding-left: 2rem; 
        border-left: 2px solid rgba(255,255,255,0.1);
        margin-left: 1rem;
    }
    .step-num {
        position: absolute;
        left: -25px; /* half width */
        top: 0;
        margin-bottom: 0;
    }
    .hero-img-col { display: block; order: 2; }
    .floating-card { display: none; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    
    .province-grid-v2 { grid-template-columns: 1fr; }
}
