/* ==========================================================
   Softfall Landing Page Templates
   Styles for template-softfall-*.php pages
   ========================================================== */

/* ---- Base ---- */
.softfall-template {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ---- Sections ---- */
.softfall-section {
    padding: 4.5rem 0;
}

.softfall-section.bg-light {
    background-color: #f4f8f0;
}

.softfall-section.bg-white {
    background-color: #ffffff;
}

/* ---- Container ---- */
.softfall-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Section headings ---- */
.softfall-section-heading {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    line-height: 1.25;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.softfall-section-heading + .suburb-text,
.softfall-section-heading + p {
    margin-top: 1rem;
}

.softfall-accent-icon {
    color: #50ae1e;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ---- Body text ---- */
.softfall-template .suburb-text {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: #374151;
}

/* ---- Rich text scoped to softfall sections ---- */
.softfall-template h2 {
    line-height: 1.25;
}

.softfall-template h3 {
    line-height: 1.3;
}

.softfall-template a:not(.softfall-cta-btn) {
    color: #3d8d17;
    text-underline-offset: 2px;
}

.softfall-template a:not(.softfall-cta-btn):hover {
    color: #50ae1e;
}

/* Ensure CTA buttons never get link underlines */
.softfall-template .softfall-cta-btn,
.softfall-template .softfall-cta-btn:hover {
    text-decoration: none;
}

/* Inline links inside the green CTA background must be white (buttons excluded) */
.softfall-cta-inner a:not(.softfall-cta-btn) {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}

.softfall-cta-inner a:not(.softfall-cta-btn):hover {
    color: #ffffff;
    text-decoration-color: #ffffff;
}

/* ---- When-required list ---- */
.softfall-template .softfall-when-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.softfall-template .softfall-when-list li {
    position: relative;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    line-height: 1.7;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 500;
    background: #ffffff;
    border-radius: 0.5rem;
    border-left: 4px solid #50ae1e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Overrides any inherited suburb-list ::before */
.softfall-template .softfall-when-list li::before {
    content: '';
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #50ae1e;
    font-family: unset;
    font-weight: unset;
    font-size: unset;
    color: unset;
}

/* ---- WHERE USED: location cards ---- */
.softfall-locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

@media (min-width: 1024px) {
    .softfall-locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.softfall-location-card {
    background: #ffffff;
    border-left: 4px solid #50ae1e;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.softfall-location-card:hover {
    box-shadow: 0 6px 20px rgba(80, 174, 30, 0.15);
    transform: translateY(-3px);
}

.softfall-location-icon {
    background: #50ae1e;
    color: #fff;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.softfall-location-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.softfall-location-body p {
    font-size: 0.975rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.75;
}

/* ---- BENEFITS: card grid ---- */
.softfall-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

@media (min-width: 1024px) {
    .softfall-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.softfall-benefit-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border-top: 3px solid #50ae1e;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.softfall-benefit-card:hover {
    box-shadow: 0 10px 28px rgba(80, 174, 30, 0.2);
    transform: translateY(-5px);
}

.softfall-benefit-icon {
    background: linear-gradient(135deg, #50ae1e, #3d8d17);
    color: #fff;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
    flex-shrink: 0;
}

.softfall-benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.6rem;
    line-height: 1.3;
}

.softfall-benefit-card p {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.75;
}

/* ---- WHY CHOOSE US: 2-col grid ---- */
.softfall-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

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

.softfall-why-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #f4f8f0;
    border-radius: 0.625rem;
    padding: 1.5rem;
    border-left: 4px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.softfall-why-card:hover {
    background: #eaf4e0;
    border-left-color: #50ae1e;
    box-shadow: 0 4px 12px rgba(80, 174, 30, 0.1);
}

.softfall-why-icon-wrap {
    background: #50ae1e;
    color: #fff;
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Legacy: icon rendered directly on element without wrapper */
.softfall-why-icon {
    color: #50ae1e;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.softfall-why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.softfall-why-card p {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.75;
}

/* ---- CTA section ---- */
.softfall-cta-section {
    background: linear-gradient(135deg, #3d8d17 0%, #50ae1e 60%, #5fc722 100%);
    padding: 5rem 0;
    text-align: center;
}

.softfall-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.softfall-cta-inner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.softfall-cta-inner p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.softfall-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.softfall-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.softfall-cta-btn--phone {
    background: #fff;
    color: #3d8d17;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.softfall-cta-btn--phone:hover {
    background: #f0fbe8;
    color: #3d8d17;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.softfall-cta-btn--contact {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.softfall-cta-btn--contact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .softfall-section {
        padding: 3rem 0;
    }

    .softfall-section-heading {
        font-size: 1.6rem;
    }

    .softfall-cta-section {
        padding: 3.5rem 0;
    }

    .softfall-cta-inner h2 {
        font-size: 1.75rem;
    }

    .softfall-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================
   Industries We Serve — template-softfall-industries.php
   ========================================================== */

/* ---- Intro block ---- */
.industries-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.industries-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.industries-sub {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* ---- Stats row ---- */
.industries-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.industries-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.industries-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #50ae1e;
    line-height: 1;
}

.industries-stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

/* ---- Grid section intro ---- */
.industries-grid-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #4a5568;
    margin: 0.75rem 0 2.5rem;
}

/* ---- Industries card grid ---- */
.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- Industry card ---- */
.industry-card {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.industry-card--linked {
    cursor: pointer;
}

.industry-card--linked:hover {
    box-shadow: 0 12px 30px rgba(80, 174, 30, 0.2);
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

/* Accent bar at top */
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #50ae1e, #3d8d17);
    border-radius: 0.75rem 0.75rem 0 0;
}

/* Card number badge */
.industry-card-number {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #d1d5db;
    letter-spacing: 0.05em;
}

/* Icon circle */
.industry-card-icon {
    background: linear-gradient(135deg, #50ae1e, #3d8d17);
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Card body */
.industry-card-body {
    flex: 1;
}

.industry-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.industry-card-body p {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
}

/* "Learn more" footer */
.industry-card-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #50ae1e;
    margin-top: 0.25rem;
    transition: gap 0.2s ease;
}

.industry-card--linked:hover .industry-card-cta {
    gap: 0.7rem;
}

/* ---- Trust strip ---- */
.industries-trust-strip {
    background: #1a1a1a;
    padding: 2rem 0;
}

.industries-trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
}

.industries-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 500;
}

.industries-trust-item i {
    color: #50ae1e;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---- Responsive — industries ---- */
@media (max-width: 640px) {
    .industries-stats {
        gap: 1.5rem;
    }

    .industries-stat-number {
        font-size: 2rem;
    }

    .industries-trust-grid {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1.5rem;
        gap: 1.25rem;
    }
}
