/* Reusable forms, marketing blocks, cards, services, and service-area components. */

/* Compact, non-clickable city list shared by all Areas We Serve sections. */
.service-area-section {
    scroll-margin-top: 9rem;
}

.service-area-scope {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 760px;
    margin: 28px auto 20px;
    padding: 20px 24px;
    border-radius: 12px;
    background: #23346d;
    color: #ffffff;
    text-align: left;
    box-shadow: 0 10px 24px rgba(35, 52, 109, 0.18);
}

.service-area-scope__icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #f0d37a;
    font-size: 1.45rem;
}

.service-area-scope strong,
.service-area-scope span {
    display: block;
}

.service-area-scope strong {
    font-size: 1.2rem;
    line-height: 1.4;
}

.service-area-scope span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .service-area-scope {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 18px;
        text-align: center;
    }
}

.service-area-list {
    margin-top: 32px;
    color: #23346d;
    font-weight: bold;
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
}
/* --- Help Form Card --- */
.help-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #F8F6F0;
    border: 1px solid #23346d;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    color: #23346d;
    margin-bottom: 5px;
    font-weight: bold;
}

select,
input {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #cccccc;
    color: #333333;
    border-radius: 6px;
    box-sizing: border-box;
}

select:focus,
input:focus {
    border-color: #23346d;
    outline: none;
}

button {
    width: 100%;
    padding: 15px;
    background: #23346d;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #152044;
}

button:disabled {
    cursor: wait;
    opacity: 0.65;
}

/* Keep the spam trap available to bots without exposing it to visitors. */
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 1.5em;
    margin: 16px 0 0;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.form-status.is-success {
    color: #17633a;
}

.form-status.is-error {
    color: #9f1d20;
}

/* Shared centered portal/action buttons used on owner and resident pages. */
.center-btn-container {
    margin: 40px 0 60px;
    text-align: center;
}

.center-btn-container button {
    width: auto;
    padding: 15px 50px;
    font-size: 1.2rem;
}

.center-btn-container a {
    text-decoration: none;
}

/* --- Promo Section --- */
.promo-split-section {
    display: flex;
    background: #ffffff;
    color: #333333;
    min-height: 500px;
    align-items: center;
    overflow: hidden;
}

.promo-content {
    flex: 1;
    padding: 60px 80px;
}

.promo-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1000') center/cover;
    height: 100%;
    min-height: 600px;
    border-top-left-radius: 150px;
    border-left: 10px solid #23346d;
}

.promo-title {
    color: #333333;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 5px;
}

.promo-tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #555555;
}

.earn-badge {
    background: linear-gradient(90deg, #ffffff 0%, #F8F6F0 100%);
    color: #333333;
    padding: 15px 25px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    border: 1px solid #e0dcd3;
    border-left: 4px solid #23346d;
    border-radius: 6px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.earn-badge i {
    color: #23346d;
    font-size: 1.8rem;
}

.incentive-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.promo-box {
    background: #F8F6F0;
    border: 1px solid #e0dcd3;
    border-bottom: 3px solid #23346d;
    padding: 25px 15px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.promo-amount {
    font-size: 2.8rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

.promo-desc {
    font-size: 1.1rem;
    line-height: 1.3;
}

.works-container {
    background: #F8F6F0;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0dcd3;
}

.works-title {
    color: #23346d;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.icon-wrapper {
    background: #ffffff;
    border: 1px solid #e0dcd3;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.step-icon {
    font-size: 1.5rem;
    color: #23346d;
}

.step-text {
    font-weight: bold;
    font-size: 1rem;
    color: #333333;
}

.step-arrow {
    color: #888;
    font-size: 1.5rem;
}

.step-item:hover .icon-wrapper {
    border-color: #23346d;
    box-shadow: 0 0 15px rgba(35, 52, 109, 0.3);
    transform: scale(1.1);
}

/* --- Services Section --- */
.services-section {
    padding: 80px 20px;
    background: radial-gradient(circle at center, #ffffff 0%, #F8F6F0 100%);
    color: #333333;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background: #ffffff;
    border: 1px solid #e0dcd3;
    border-bottom: 4px solid #23346d;
    padding: 40px 20px;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
}

.service-icon {
    font-size: 2.5rem;
    color: #23346d;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #23346d;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(35, 52, 109, 0.15);
    border-color: #23346d;
}

.fee-box {
    background: linear-gradient(135deg, rgba(35, 52, 109, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border: 2px solid #23346d;
    padding: 40px;
    margin: 60px auto;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(35, 52, 109, 0.3);
}

.guarantee-card {
    background: linear-gradient(135deg, #23346d 0%, #152044 100%);
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(35, 52, 109, 0.4);
}

.guarantee-card h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-top: 0;
    text-transform: uppercase;
}

.guarantee-card p {
    font-size: 1.1rem;
    font-weight: bold;
    opacity: 0.9;
    margin-bottom: 0;
}

/* --- Content Panel --- */
.content-panel {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e0dcd3;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(35, 52, 109, 0.08);
}

.content-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 18px;
}

.service-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.service-area-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-area-link {
    color: #23346d;
    text-decoration: none;
    font-weight: 600;
}

.service-area-link:hover {
    text-decoration: underline;
    color: #152044;
}

.service-area-link.muted {
    color: #555555;
}

@media (max-width: 768px) {
    .content-panel {
        padding: 24px;
    }

    .service-area-grid {
        grid-template-columns: 1fr;
    }
}


/* Specific styles for Areas We Serve section */
.content-panel {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #F8F6F0;
    border: 1px solid #23346d;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.content-intro {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-area-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 600px) {
    .service-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-area-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    padding: 25px;
    border: 1px solid #e0dcd3;
    border-bottom: 3px solid #23346d;
    border-radius: 8px;
    text-align: center;
}

.service-area-link {
    color: #23346d;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    padding: 8px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-area-link:not(.muted):hover {
    background-color: #23346d;
    color: #ffffff;
    transform: scale(1.02);
}

.service-area-link.muted {
    color: #888888;
    font-weight: normal;
    font-style: italic;
    cursor: default;
}
