/* services-polish.css — Services hub page polish */

/* Float clearance for service sections */
.page-services .section-entity .content-img-right,
.page-services .section-insurance .content-img-right {
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Clear floats inside sections so they don't overflow */
.page-services .section-insurance .container::after,
.page-services .section-entity .container::after {
    content: '';
    display: table;
    clear: both;
}

/* Benefit/feature list items — larger text for readability */
.benefit-list li,
.feature-list-compact li,
.glass-list li {
    font-size: 1.05rem !important;
    line-height: 1.65;
    padding: var(--space-5, 1.25rem) !important;
}

/* Hero mini-form — center the submit button */
.hero-mini-form {
    text-align: center;
}

.hero-mini-form button[type="submit"] {
    margin: 0 auto;
}

/* Hero split — center content for pages without grid form */
.page-service .hero--split-left .hero-content,
.page-service .hero--split-right .hero-content {
    margin: 0 auto !important;
    max-width: 800px !important;
    text-align: center !important;
}

.page-service .hero--split .hero-cta {
    justify-content: center !important;
}

.page-service .hero--split .hero-trust {
    justify-content: center !important;
}

/* Hero grid-form — left-aligned text, form card right (like homepage) */
.page-service .hero--grid-form .hero-content,
.page-services .hero--grid-form .hero-content {
    text-align: left !important;
}

.page-service .hero--grid-form .hero-content h1,
.page-services .hero--grid-form .hero-content h1 {
    text-align: left !important;
}

.page-service .hero--grid-form .hero-lead,
.page-services .hero--grid-form .hero-lead {
    text-align: left !important;
}

.page-service .hero--grid-form .hero-trust,
.page-services .hero--grid-form .hero-trust {
    justify-content: flex-start !important;
}

.page-service .hero--grid-form .form-card {
    background: var(--color-neutral-50, #f9fafb);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-top: 4px solid var(--color-brand-red, #EC1C24);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
    padding: 2.5rem 2rem;
}

.page-service .hero--grid-form .form-heading {
    font-size: 1.5rem;
    color: var(--color-brand-blue-dark, #0f1e4a);
    font-weight: 800;
    text-align: center;
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.page-service .hero--grid-form .form-subhead {
    font-size: 1rem;
    color: var(--color-neutral-500, #6b7280);
    text-align: center;
    margin: 0 0 1.5rem;
}

.page-service .hero--grid-form .form-subhead strong {
    color: var(--color-brand-red, #EC1C24);
}

.page-service .hero--grid-form .form-disclaimer {
    font-size: 0.9rem;
    color: var(--color-neutral-500, #6b7280);
    text-align: center;
    margin-top: 0.75rem;
}

.page-service .hero--grid-form .form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--color-neutral-800, #1f2937);
}

.page-service .hero--grid-form .form-group input {
    width: 100%;
    padding: 1rem 1.15rem;
    font-size: 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.page-service .hero--grid-form .form-card .btn-large {
    padding: 1rem 1.5rem !important;
    font-size: 1.15rem !important;
    border-radius: 10px;
}

/* Hero background image — let inline bg-image show through with overlay */
.page-service .section-hero.hero--bg-image,
.page-services .section-hero.hero--bg-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

.page-service .section-hero.hero--bg-image::before,
.page-services .section-hero.hero--bg-image::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to right, rgba(15, 30, 74, 0.88) 0%, rgba(15, 30, 74, 0.7) 45%, rgba(15, 30, 74, 0.25) 75%, transparent 100%) !important;
    z-index: 1 !important;
    pointer-events: none;
}

.page-service .section-hero .container,
.page-services .section-hero .container {
    position: relative;
    z-index: 2;
}

/* Section bottom spacing — prevent content touching next section */
.page-service .section {
    padding-bottom: var(--space-12, 3rem);
}

/* Mobile service section styling */
.page-services .section-mobile .benefit-list {
    max-width: 900px;
}

/* About section text wrap */
.page-services .section-entity p {
    max-width: 65ch;
}

/* Section spacing — prevent sections from touching */
.page-services .section-areas,
.page-services .section-insurance,
.page-services .section-entity {
    padding-bottom: var(--space-12, 3rem);
    overflow: hidden;
}
