/*
 * /contractors landing pages (landing-page.php).
 * Plain CSS on purpose: Tailwind only scans the .html files.
 */

.lp { max-width: 1120px; margin: 0 auto; padding: 96px 16px 48px; color: #111827; }
html.in-app .lp { padding-top: 24px; }

/* Breadcrumb */
.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: #6b7280; margin-bottom: 14px; }
.lp-crumbs a { color: #012dc2; text-decoration: none; }
.lp-crumbs a:hover { text-decoration: underline; }
.lp-crumbs i { font-size: 9px; color: #9ca3af; }
.lp-crumbs [aria-current] { color: #374151; font-weight: 600; }

/* Hero */
.lp-hero {
    background: linear-gradient(135deg, #012dc2 0%, #1d4ed8 60%, #2563eb 100%); color: #fff;
    border-radius: 20px; padding: 32px 28px; box-shadow: 0 18px 40px rgba(1, 45, 194, .18);
}
.lp-hero h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
.lp-hero p { font-size: 16.5px; line-height: 1.55; margin: 0; max-width: 720px; color: #dbe6ff; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.lp-stats li {
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px;
    padding: 8px 14px; font-size: 13.5px; color: #e0e8ff; display: flex; align-items: baseline; gap: 6px;
}
.lp-stats b { color: #fff; font-size: 17px; }

/* Buttons */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px;
    border-radius: 11px; font-weight: 600; font-size: 14.5px; text-decoration: none;
    transition: background-color .2s, box-shadow .2s, transform .15s;
}
.lp-btn:active { transform: scale(.97); }
.lp-btn-white { background: #fff; color: #012dc2; }
.lp-btn-white:hover { background: #eef3ff; }
.lp-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.lp-btn-blue { background: #012dc2; color: #fff; }
.lp-btn-blue:hover { background: #031f84; box-shadow: 0 6px 16px rgba(1, 45, 194, .25); }

/* Sections */
.lp-section { margin-top: 36px; }
.lp-section h2, .lp-answer h2, .lp-cta h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; line-height: 1.25; }
.lp-section h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 8px; }
.lp-sub { color: #4b5563; margin: -6px 0 14px; font-size: 14.5px; }
.lp-section > p { color: #374151; line-height: 1.6; }

/* Quick answer */
.lp-answer {
    margin-top: 24px; background: #fff; border: 1.5px solid #dbe4ff; border-left: 5px solid #012dc2;
    border-radius: 14px; padding: 20px 22px;
}
.lp-answer h2 { font-size: 19px; margin-bottom: 10px; }
.lp-answer ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #374151; line-height: 1.5; font-size: 15px; }

/* City tiles */
.lp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.lp-tile {
    display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: #fff;
    border: 1px solid #e5e7eb; text-decoration: none; color: #111827; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lp-tile i { color: #012dc2; font-size: 20px; margin-bottom: 6px; }
.lp-tile b { font-size: 16px; }
.lp-tile span { font-size: 13px; color: #6b7280; }
.lp-tile:hover { border-color: #93a8f4; box-shadow: 0 10px 24px rgba(1, 45, 194, .1); transform: translateY(-2px); }

/* Link pills (trades) */
.lp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-links a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff;
    border: 1px solid #e5e7eb; text-decoration: none; color: #1f2937; font-size: 14px; font-weight: 500;
    transition: border-color .2s, background-color .2s;
}
.lp-links a:hover { border-color: #012dc2; background: #f5f8ff; color: #012dc2; }
.lp-links small { background: #eef3ff; color: #012dc2; font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 999px; }

/* Contractor cards */
.lp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.lp-card {
    display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: #fff;
    border: 1px solid #e5e7eb; text-decoration: none; color: #111827; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lp-card:hover { border-color: #93a8f4; box-shadow: 0 12px 28px rgba(1, 45, 194, .1); transform: translateY(-2px); }
.lp-card-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lp-avatar {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #012dc2, #3b82f6); color: #fff; font-weight: 800; font-size: 19px;
}
.lp-card-name { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lp-card-name b { font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-verified { font-size: 12px; font-weight: 700; color: #15803d; display: inline-flex; align-items: center; gap: 4px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chip { font-size: 12px; font-weight: 600; background: #f3f4f6; color: #374151; padding: 3px 9px; border-radius: 999px; }
.lp-card-meta { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #4b5563; }
.lp-card-meta i { width: 15px; color: #6b7280; }
.lp-card-link { margin-top: auto; font-size: 13.5px; font-weight: 600; color: #012dc2; display: inline-flex; align-items: center; gap: 6px; }
.lp-more { text-align: center; margin-top: 18px; }

.lp-empty { text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; padding: 28px 20px; }
.lp-empty i { font-size: 30px; color: #94a3b8; }
.lp-empty p { color: #4b5563; margin: 10px 0 16px; }

/* Guide */
.lp-guide { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; }
.lp-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.lp-guide-grid p { color: #374151; line-height: 1.6; margin: 0 0 16px; font-size: 14.5px; }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 7px; }
.lp-ticks li { position: relative; padding-left: 24px; color: #374151; line-height: 1.5; font-size: 14.5px; }
.lp-ticks li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px;
    color: #16a34a; font-size: 13px;
}

/* Zones and FAQ (details) */
.lp-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; align-items: start; }
.lp-zones details, .lp-faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.lp-zones summary, .lp-faq summary {
    cursor: pointer; list-style: none; padding: 13px 16px; display: flex; align-items: center; gap: 10px; font-size: 15px;
}
.lp-zones summary::-webkit-details-marker, .lp-faq summary::-webkit-details-marker { display: none; }
.lp-zones summary::after, .lp-faq summary::after {
    content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; font-size: 12px;
    color: #6b7280; transition: transform .2s;
}
.lp-zones details[open] summary::after, .lp-faq details[open] summary::after { transform: rotate(180deg); }
.lp-zones summary small { color: #6b7280; }
.lp-zones details p { margin: 0; padding: 0 16px 14px; font-size: 13.5px; color: #4b5563; line-height: 1.6; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq h2 { margin-bottom: 4px; }
.lp-faq summary { font-weight: 600; }
.lp-faq details p { margin: 0; padding: 0 16px 15px; color: #374151; line-height: 1.6; font-size: 14.5px; }

/* Closing CTA */
.lp-cta {
    margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    background: #0f172a; color: #fff; border-radius: 18px; padding: 26px 28px;
}
.lp-cta h2 { margin-bottom: 6px; }
.lp-cta p { margin: 0; color: #cbd5e1; }
.lp-updated { text-align: center; font-size: 12.5px; color: #6b7280; margin-top: 20px; }

@media (max-width: 640px) {
    .lp { padding-top: 84px; }
    .lp-hero { padding: 24px 18px; border-radius: 16px; }
    .lp-hero p { font-size: 15px; }
    .lp-hero-actions .lp-btn { flex: 1 1 100%; }
    .lp-guide { padding: 18px; }
    .lp-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .lp-cta { padding: 22px 18px; }
    .lp-cta .lp-btn { width: 100%; }
    .lp-section h2 { font-size: 20px; }
}
