/*
Theme Name: Element Home Solutions
Theme URI: https://elementhomesolutions.ca/
Author: Element Home Solutions
Author URI: https://elementhomesolutions.ca/
Description: Custom theme for Element Home Solutions renovation services in the GTA.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: element-home-solutions
*/

:root {
    --ehs-font-family-base: 'Montserrat', sans-serif;
    --ehs-font-family-heading: 'Roboto', sans-serif;
    
    /* Typography Scale - Consistent sizes across all sections */
    --ehs-font-size-h1: clamp(2.25rem, 4vw, 3rem);           /* Main hero titles */
    --ehs-font-size-h2: clamp(1.75rem, 3vw, 2.25rem);       /* Section titles */
    --ehs-font-size-h3: clamp(1.25rem, 2vw, 1.5rem);        /* Card titles, subsections */
    --ehs-font-size-h4: clamp(1.125rem, 1.5vw, 1.25rem);    /* Smaller headings */
    --ehs-font-size-subtitle: clamp(1rem, 1.5vw, 1.125rem); /* Section subtitles */
    --ehs-font-size-body: 1rem;                              /* Body text */
    --ehs-font-size-small: 0.875rem;                         /* Small text */
    --ehs-font-size-caption: 0.75rem;                        /* Captions, labels */
    
    /* Line heights for consistent vertical rhythm */
    --ehs-line-height-tight: 1.1;
    --ehs-line-height-normal: 1.4;
    --ehs-line-height-relaxed: 1.6;

    /* Border radius scale */
    --ehs-radius-xs: 4px;
    --ehs-radius-sm: 8px;
    --ehs-radius-md: 12px;
    --ehs-radius-lg: 16px;
    --ehs-radius-xl: 20px;
    --ehs-radius-xxl: 28px;
    --ehs-radius-pill: 999px;

    /* Spacing scale */
    --ehs-spacing-xs: 0.5rem;
    --ehs-spacing-sm: 1rem;
    --ehs-spacing-md: 1.5rem;
    --ehs-spacing-lg: 2.5rem;
    --ehs-spacing-xl: 4rem;
    
    /* 60% основний колір - темно-синій сланцевий для серйозності */
    --ehs-color-dark: #261e3b;
    --ehs-color-light: #ffffff;
    /* 10% яскравий акцент - яскраві кольори для CTA */
    --ehs-color-primary: #6106d9;
    --ehs-color-primary-dark: #261e3b;
    --ehs-color-primary-light: #7c47f4;
    --ehs-color-cta-bright: #6106d9;
    --ehs-color-cta-bright-dark: #261e3b;
    /* 30% вторинний - світло-сірий для акцентних секцій */
    --ehs-color-accent: #475569;
    --ehs-color-accent-light: #64748b;
    --ehs-color-success: #059669;
    --ehs-color-success-light: #10b981;
    --ehs-color-muted: #64748b;
    --ehs-color-muted-light: #94a3b8;
    --ehs-shadow-soft: 0 10px 30px rgba(30, 41, 59, 0.15);
    --ehs-shadow-accent: 0 10px 30px rgba(15, 23, 42, 0.15);
    --ehs-gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --ehs-gradient-cta-bright: linear-gradient(135deg, #261e3b 0%, #9a59f0 100%);
    --ehs-gradient-cta-bright-hover: linear-gradient(135deg, #352a61 0%, #7c47f4 100%);
    --ehs-color-button-accent: #7c47f4;
    --ehs-color-button-accent-soft: rgba(124, 71, 244, 0.3);
    --ehs-shadow-button: 0 12px 24px rgba(97, 6, 217, 0.18);
    --ehs-shadow-button-strong: 0 18px 40px rgba(97, 6, 217, 0.28);
    --ehs-gradient-accent: linear-gradient(135deg, #475569 0%, #64748b 100%);
    --ehs-gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

html,
body {
    font-family: var(--ehs-font-family-base);
    color: var(--ehs-color-dark);
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus,
a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select {
    font-family: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ehs-font-family-heading);
    font-weight: 700;
    line-height: var(--ehs-line-height-tight);
    margin: 0 0 1rem 0;
    color: var(--ehs-color-dark);
}

h1 {
    font-size: var(--ehs-font-size-h1);
    font-weight: 800;
}

h2 {
    font-size: var(--ehs-font-size-h2);
    font-weight: 700;
}

h3 {
    font-size: var(--ehs-font-size-h3);
    font-weight: 600;
}

h4 {
    font-size: var(--ehs-font-size-h4);
    font-weight: 600;
}

h5 {
    font-size: var(--ehs-font-size-body);
    font-weight: 600;
}

h6 {
    font-size: var(--ehs-font-size-small);
    font-weight: 600;
}

p {
    font-family: var(--ehs-font-family-base);
    font-size: var(--ehs-font-size-body);
    line-height: var(--ehs-line-height-relaxed);
    margin: 0 0 1rem 0;
}

/* Typography Utility Classes */
.ehs-text-h1 {
    font-size: var(--ehs-font-size-h1);
    font-weight: 800;
    line-height: var(--ehs-line-height-tight);
    font-family: var(--ehs-font-family-heading);
}

.ehs-text-h2 {
    font-size: var(--ehs-font-size-h2);
    font-weight: 700;
    line-height: var(--ehs-line-height-tight);
    font-family: var(--ehs-font-family-heading);
}

.ehs-text-h3 {
    font-size: var(--ehs-font-size-h3);
    font-weight: 600;
    line-height: var(--ehs-line-height-tight);
    font-family: var(--ehs-font-family-heading);
}

.ehs-text-h4 {
    font-size: var(--ehs-font-size-h4);
    font-weight: 600;
    line-height: var(--ehs-line-height-tight);
    font-family: var(--ehs-font-family-heading);
}

.ehs-text-subtitle {
    font-size: var(--ehs-font-size-subtitle);
    line-height: var(--ehs-line-height-normal);
}

.ehs-text-body {
    font-size: var(--ehs-font-size-body);
    line-height: var(--ehs-line-height-relaxed);
}

.ehs-text-small {
    font-size: var(--ehs-font-size-small);
    line-height: var(--ehs-line-height-normal);
}

.ehs-text-caption {
    font-size: var(--ehs-font-size-caption);
    line-height: var(--ehs-line-height-normal);
}

.ehs-container {
    width: min(1440px, 100% - 3rem);
    margin: 0 auto;
}
/* Buttons */
.ehs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.06rem 1.9rem;
    border-radius: var(--ehs-radius-lg);
    border: none;
    background: var(--ehs-gradient-cta-bright);
    color: var(--ehs-color-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    box-shadow: var(--ehs-shadow-button);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ehs-button:focus,
.ehs-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--ehs-shadow-button-strong);
    background: var(--ehs-gradient-cta-bright-hover);
    color: var(--ehs-color-light);
    
}

.ehs-button--ghost {
    background: transparent;
    color: var(--ehs-color-button-accent);
    border: 1px solid var(--ehs-color-button-accent-soft);
    box-shadow: none;
}

.ehs-button--ghost:focus,
.ehs-button--ghost:hover {
    color: var(--ehs-color-light);
    background: var(--ehs-gradient-cta-bright);
    border-color: transparent;
    box-shadow: var(--ehs-shadow-button-strong);
}

.ehs-button--outline {
    background: transparent;
    border: 2px solid var(--ehs-color-button-accent);
    color: var(--ehs-color-button-accent);
    box-shadow: none;
}

.ehs-button--outline:focus,
.ehs-button--outline:hover {
    background: var(--ehs-gradient-cta-bright);
    color: var(--ehs-color-light);
    border-color: transparent;
    box-shadow: var(--ehs-shadow-button-strong);
}

.ehs-button--frost {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(226, 232, 240, 0.88) 100%);
    color: var(--ehs-color-dark);
    box-shadow: var(--ehs-shadow-button);
}

.ehs-button--frost:focus,
.ehs-button--frost:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    color: var(--ehs-color-dark);
    box-shadow: var(--ehs-shadow-button-strong);
}

.ehs-button--full {
    width: 100%;
    justify-content: center;
}

/* Modal */
.ehs-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.ehs-modal__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 26, 37, 0.8) 0%, rgba(97, 6, 217, 0.4) 100%);
}

.ehs-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    background: var(--ehs-color-light);
    color: var(--ehs-color-dark);
    border-radius: var(--ehs-radius-xl);
    padding: 0;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.3), 0 15px 30px rgba(97, 6, 217, 0.2);
    z-index: 1;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.ehs-modal__header {
    background: linear-gradient(135deg, var(--ehs-color-primary) 0%, rgba(124, 71, 244, 0.9) 100%);
    color: var(--ehs-color-light);
    padding: 1.5rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.ehs-modal__header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.ehs-modal__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.ehs-modal__icon svg {
    width: 20px;
    height: 20px;
    color: var(--ehs-color-light);
}

.ehs-modal__title {
    margin: 0 0 0.375rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ehs-color-light);
    position: relative;
    z-index: 1;
}

.ehs-modal__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.ehs-modal__form {
    padding: 1.5rem;
}

.ehs-modal__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ehs-modal__cta {
    margin-top: 1rem;
}

.ehs-modal__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 1.25rem;
    background: rgba(97, 6, 217, 0.05);
    border-radius: var(--ehs-radius-lg);
    border: 1px solid rgba(97, 6, 217, 0.1);
}

.ehs-modal__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--ehs-color-dark);
    font-weight: 500;
}

.ehs-modal__feature-icon {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
}

.ehs-modal__privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--ehs-radius-md);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.8rem;
    color: rgba(14, 26, 37, 0.7);
}

.ehs-modal__privacy-icon {
    width: 16px;
    height: 16px;
    color: #10B981;
    flex-shrink: 0;
}

.ehs-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.ehs-modal__close svg {
    width: 18px;
    height: 18px;
    color: var(--ehs-color-light);
}

.ehs-modal__close:focus,
.ehs-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ehs-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ehs-modal[aria-hidden="false"] .ehs-modal__dialog {
    transform: translateY(0) scale(1);
}

body.ehs-modal-open {
    overflow: hidden;
}

/* Form Fields */
.ehs-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ehs-field--full {
    grid-column: 1 / -1;
}

.ehs-field__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ehs-color-dark);
}

.ehs-field__icon {
    width: 16px;
    height: 16px;
    color: var(--ehs-color-primary);
    flex-shrink: 0;
}

.ehs-field__input {
    border: 2px solid rgba(14, 26, 37, 0.1);
    border-radius: var(--ehs-radius-lg);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--ehs-color-light);
    transition: all 0.2s ease;
    outline: none;
}

.ehs-field__input:focus {
    border-color: var(--ehs-color-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    transform: translateY(-1px);
}

.ehs-field__input::placeholder {
    color: rgba(14, 26, 37, 0.5);
}

.ehs-field__error {
    font-size: 0.8rem;
    color: #EF4444;
    margin-top: 0.25rem;
}

/* Button Gradient Variant */
.ehs-button--gradient {
    background: var(--ehs-gradient-cta-bright);
    color: var(--ehs-color-light);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--ehs-radius-lg);
    box-shadow: 0 8px 24px rgba(97, 6, 217, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ehs-button--gradient:hover,
.ehs-button--gradient:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(97, 6, 217, 0.4);
    background: var(--ehs-gradient-cta-bright-hover);
}

.ehs-button__icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {
    .ehs-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ehs-modal {
        padding: 1rem;
    }

    .ehs-modal__dialog {
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .ehs-modal__header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .ehs-modal__title {
        font-size: 1.5rem;
    }

    .ehs-modal__form {
        padding: 1.5rem;
    }

    .ehs-modal__form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .ehs-modal__features {
        margin-top: 1rem;
        padding: 1rem;
    }

    .ehs-button--gradient {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Why Element Section */
.ehs-why {
    padding: clamp(4rem, 12vw, 8rem) 0;
    background: var(--ehs-color-light);
    position: relative;
}

.ehs-why__header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.ehs-why__title {
    font-size: var(--ehs-font-size-h2);
    color: var(--ehs-color-dark);
    margin: 0 0 16px;
    text-transform: uppercase;
    font-family: var(--ehs-font-family-heading);
    line-height: var(--ehs-line-height-tight);
}

.ehs-why__subtitle {
    font-size: var(--ehs-font-size-subtitle);
    color: var(--ehs-color-muted);
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--ehs-line-height-normal);
}

.ehs-why__content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
}

.ehs-why__left-column {
    width: 450px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
}

/* Timeline Line */
.ehs-why__timeline {
    position: relative;
    padding-left: clamp(3rem, 6vw, 4rem);
    flex: 1;
}

.ehs-why__timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #7c47f4;
    opacity: 0.3;
}

.ehs-why-item {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--ehs-color-light);
    border-radius: 16px;
    border: 1px solid #7c47f4;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    margin-left: clamp(2rem, 4vw, 3rem);
    transition: all 0.3s ease;
    cursor: pointer;
    transform: translateX(8px);
    box-shadow: var(--ehs-shadow-soft);
}

.ehs-why-item:last-child {
    margin-bottom: 0;
}

/* Timeline Marker */
.ehs-why-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * (clamp(2rem, 4vw, 3rem) + 20px + 6px));
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7c47f4;
    border: 2px solid #6b38e6;
    box-shadow: 0 0 0 3px var(--ehs-color-light), 0 0 0 6px rgba(124, 71, 244, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.ehs-why-item:hover {
    transform: translateX(12px);
    box-shadow: 0 10px 40px rgba(71, 85, 105, 0.2);
}

.ehs-why-item:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 0 3px var(--ehs-color-light), 0 0 0 8px rgba(124, 71, 244, 0.3);
}

.ehs-why-item__title {
    font-size: var(--ehs-font-size-h4);
    font-weight: 600;
    color: var(--ehs-color-dark);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    font-family: var(--ehs-font-family-heading);
    line-height: var(--ehs-line-height-tight);
    transition: color 0.3s ease;
}

.ehs-why-item:hover .ehs-why-item__title {
    color: var(--ehs-color-primary);
}

.ehs-why-item__description {
    font-size: var(--ehs-font-size-body);
    color: var(--ehs-color-muted);
    line-height: var(--ehs-line-height-relaxed);
    margin: 0;
}

.ehs-why__stats-section {
    margin-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: clamp(3rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    border: 1px solid rgba(100, 116, 139, 0.1);
    box-shadow: 0 8px 32px rgba(30, 41, 59, 0.08);
    color: var(--ehs-color-dark);
    transition: all 0.3s ease;
}

.ehs-why__stats-section:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.12);
}

.ehs-why__stats-title {
    font-size: var(--ehs-font-size-h3);
    font-weight: 700;
    color: var(--ehs-color-dark);
    margin: 0 0 clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
    font-family: var(--ehs-font-family-heading);
    line-height: var(--ehs-line-height-tight);
}

.ehs-why__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.ehs-why-stat {
    text-align: center;
}

.ehs-why-stat__number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #4e3379;
    margin: 0 0 0.25rem;
    display: block;
}

.ehs-why-stat__label {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--ehs-color-muted);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.ehs-why__image {
    width: 100%;
    height: clamp(300px, 40vw, 400px);
    border-radius: 16px;
    background: #e2e8f0;
    background-image: url('assets/images/team-work.webp');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .ehs-why__content {
        flex-direction: column;
    }
    
    .ehs-why__left-column {
        width: 100%;
        margin-bottom: clamp(3rem, 6vw, 4rem);
    }
    
    .ehs-why__timeline {
        padding-left: 1.5rem !important;
    }
    
    .ehs-why__timeline::before {
        left: 12px !important;
    }
    
    .ehs-why-item {
        margin-left: 1rem !important;
    }
    
    .ehs-why-item::before {
        left: -25px !important;
        top: 50% !important;
        transform: translateY(-50%) scale(1) !important;
        width: 8px !important;
        height: 8px !important;
        border-width: 2px !important;
    }
    
    .ehs-why-item:hover {
        transform: translateX(4px) !important;
    }
    
    .ehs-why-item:hover::before {
        transform: translateY(-50%) scale(1.1) !important;
    }
    
    .ehs-why__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Benefits Section */
.ehs-benefits {
    padding: clamp(2.5rem, 7vw, 4rem) 0;
    background: var(--ehs-color-light);
}

.ehs-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(2rem, 6vw, 4rem);
    align-items: start;
}

.ehs-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.ehs-benefit__image {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ehs-benefit__image--insurance {
    background-image: url('assets/images/benefits/insurance.webp');
}

.ehs-benefit__image--updates {
    background-image: url('assets/images/benefits/updates.webp');
}

.ehs-benefit__image--cleanup {
    background-image: url('assets/images/benefits/cleanup.webp');
}

.ehs-benefit__image--permits {
    background-image: url('assets/images/benefits/permits.webp');
}

.ehs-benefit__content {
    flex: 1;
    min-width: 0;
}

.ehs-benefit__title {
    font-size: var(--ehs-font-size-h4);
    font-weight: 600;
    color: var(--ehs-color-dark);
    margin: 0 0 0.5rem 0;
    line-height: var(--ehs-line-height-tight);
    text-transform: uppercase;
}

.ehs-benefit__description {
    font-size: var(--ehs-font-size-small);
    color: var(--ehs-color-muted);
    margin: 0;
    line-height: var(--ehs-line-height-relaxed);
}

@media (max-width: 960px) {
    .ehs-benefits__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ehs-benefit {
        gap: 1.25rem;
    }
    
    .ehs-benefit__image {
        width: 56px;
        height: 56px;
    }
}
