/**
 * LH City Services — Page Styles
 *
 * Designed to work with OceanWP theme.
 * Uses the site's existing color palette where possible.
 */

/* Force OceanWP full-width */
.lh-service-page {
    width: 100%;
    max-width: 100%;
}

/* Layout */
.lh-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

@media (max-width: 960px) {
    .lh-page-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Breadcrumbs */
.lh-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.lh-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lh-breadcrumbs li::after {
    content: "›";
    margin-left: 8px;
    color: #999;
}

.lh-breadcrumbs li:last-child::after {
    content: "";
}

.lh-breadcrumbs a {
    color: #1a3a5c;
    text-decoration: none;
}

.lh-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Hero */
.lh-hero {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8e8e8;
}

.lh-hero h1 {
    font-size: 36px;
    line-height: 1.2;
    color: #1a3a5c;
    margin-bottom: 20px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .lh-hero h1 {
        font-size: 28px;
    }
}

.lh-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.lh-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    border: none;
}

.lh-btn-primary {
    background-color: #c0392b;
    color: #fff;
}

.lh-btn-primary:hover {
    background-color: #a93226;
    color: #fff;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.3);
}

.lh-btn-secondary {
    background-color: #1a3a5c;
    color: #fff;
}

.lh-btn-secondary:hover {
    background-color: #142d47;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 58, 92, 0.3);
}

.lh-btn-block {
    display: block;
    width: 100%;
}

/* Stats Bar */
.lh-stats-bar {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.lh-stat {
    flex: 1;
    text-align: center;
    padding: 16px 12px;
    border-right: 1px solid #e8e8e8;
}

.lh-stat:last-child {
    border-right: none;
}

.lh-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a3a5c;
}

.lh-stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .lh-stats-bar {
        flex-wrap: wrap;
    }

    .lh-stat {
        flex-basis: 50%;
        border-bottom: 1px solid #e8e8e8;
    }

    .lh-stat:nth-child(even) {
        border-right: none;
    }
}

/* Content Sections */
.lh-section {
    margin-bottom: 40px;
}

.lh-section h2 {
    font-size: 26px;
    color: #1a3a5c;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.lh-section h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.lh-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 14px;
}

/* Subhead (hero intro) */
.lh-subhead {
    font-size: 18px;
    color: #555;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Pillars Grid */
.lh-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .lh-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.lh-pillar {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 24px;
}

.lh-pillar h3 {
    margin-top: 0;
}

.lh-pillar-icon {
    width: 40px;
    height: 40px;
    background: #1a3a5c;
    border-radius: 50%;
    margin-bottom: 12px;
}

/* Differentiators Grid */
.lh-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .lh-diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.lh-diff {
    text-align: center;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.lh-diff-icon {
    width: 48px;
    height: 48px;
    background: #c0392b;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.lh-diff h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.lh-diff p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Technology Grid */
.lh-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .lh-tech-grid {
        grid-template-columns: 1fr;
    }
}

.lh-tech-item {
    background: #1a3a5c;
    color: #fff;
    padding: 24px;
    border-radius: 6px;
}

.lh-tech-item h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.lh-tech-item p {
    color: #d4e0ed;
    font-size: 14px;
    line-height: 1.6;
}

/* Pain Points */
.lh-pain-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .lh-pain-points {
        grid-template-columns: 1fr;
    }
}

.lh-pain-point {
    padding: 20px;
    background: #fff9f0;
    border-left: 4px solid #e67e22;
    border-radius: 0 6px 6px 0;
}

.lh-pain-point h3 {
    font-size: 16px;
    color: #c0392b;
    margin-bottom: 8px;
}

.lh-pain-point p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Use Cases */
.lh-use-case-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .lh-use-case-list {
        grid-template-columns: 1fr;
    }
}

.lh-use-case-list li {
    padding: 12px 16px 12px 36px;
    background: #f8f9fa;
    border-radius: 4px;
    position: relative;
    font-size: 15px;
    line-height: 1.4;
}

.lh-use-case-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    color: #27ae60;
    font-weight: 700;
}

/* FAQ */
.lh-faq-item {
    border-bottom: 1px solid #e8e8e8;
    padding: 16px 0;
}

.lh-faq-item:last-child {
    border-bottom: none;
}

.lh-faq-item h3 {
    font-size: 17px;
    color: #1a3a5c;
    margin-bottom: 8px;
    cursor: default;
}

.lh-faq-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0;
}

/* CTA Section */
.lh-cta-section {
    background: #1a3a5c;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.lh-cta-section h2 {
    color: #fff;
    margin-bottom: 12px;
}

.lh-cta-section p {
    color: #d4e0ed;
    margin-bottom: 20px;
}

.lh-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Internal Links */
.lh-internal-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e8e8e8;
}

.lh-links-section {
    margin-bottom: 24px;
}

.lh-links-section h3 {
    font-size: 18px;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.lh-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lh-links-list li a {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f3f6;
    border: 1px solid #d4dbe3;
    border-radius: 4px;
    color: #1a3a5c;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.15s;
}

.lh-links-list li a:hover {
    background: #d4dbe3;
}

/* Sidebar */
.lh-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
}

.lh-sidebar-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lh-sidebar-card h3 {
    font-size: 20px;
    color: #1a3a5c;
    margin-top: 0;
    margin-bottom: 12px;
}

.lh-sidebar-divider {
    border-top: 1px solid #e8e8e8;
    margin: 16px 0;
}

/* City Info Card */
.lh-city-info {
    margin: 0;
}

.lh-city-info dt {
    font-weight: 600;
    color: #1a3a5c;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
}

.lh-city-info dt:first-child {
    margin-top: 0;
}

.lh-city-info dd {
    margin: 2px 0 0 0;
    color: #444;
    font-size: 15px;
    line-height: 1.4;
}

/* Address Card */
.lh-address-card address {
    font-style: normal;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.lh-address-card a {
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
}

.lh-address-card a:hover {
    text-decoration: underline;
}

.lh-credentials {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
}

/* CTA Card */
.lh-cta-card {
    background: #f0f3f6;
    border-color: #1a3a5c;
    border-width: 2px;
}

.lh-cta-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
}

/* JotForm embed */
.lh-jotform-wrap {
    max-height: 600px;
    overflow-y: auto;
}

.lh-jotform-wrap iframe {
    width: 100% !important;
    border: none !important;
}

/* Local Section */
.lh-local p {
    font-size: 16px;
}

/* Print styles */
@media print {
    .lh-sidebar,
    .lh-hero-cta,
    .lh-cta-section,
    .lh-internal-links,
    .lh-jotform-wrap {
        display: none;
    }

    .lh-page-layout {
        grid-template-columns: 1fr;
    }
}
