/* Home page layout, based on the site's original section rhythm. */
:root {
    --home-green: #4baf47;
    --home-ink: #23251f;
    --home-muted: #69736e;
    --home-cream: #f8f7f0;
}

.ecofine-template-home .eco-single-slide-item {
    background-image: linear-gradient(90deg, rgba(249, 249, 249, .98) 0%, rgba(249, 249, 249, .95) 36%, rgba(249, 249, 249, .55) 50%, rgba(249, 249, 249, 0) 68%), url('../images/generated/home-hero.webp') !important;
    background-position: center center;
    background-size: cover;
}

.ecofine-template-home .eco-settings-content {
    max-width: 700px;
    transform: translateY(34px);
}

.ecofine-template-home .eco-slide-title {
    font-size: clamp(3.1rem, 4.4vw, 4rem);
    line-height: 1.12;
    max-width: 700px;
}

.ecofine-template-home .eco-slide-dec {
    max-width: 590px;
}

.hsw-home-section {
    position: relative;
}

.hsw-home-container {
    width: min(1170px, calc(100% - 40px));
    margin-inline: auto;
}

.hsw-home-section .hsw-eyebrow {
    color: var(--home-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.5;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.hsw-home-section h2 {
    color: var(--home-ink);
    font-size: clamp(2.15rem, 3.3vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    margin: 0;
}

.hsw-home-section h3 {
    color: var(--home-ink);
    font-size: 1.33rem;
    font-weight: 750;
    line-height: 1.35;
    margin: 0;
}

.hsw-home-section p {
    color: var(--home-muted);
    line-height: 1.75;
}

.hsw-home-link {
    align-items: center;
    background: var(--home-green);
    border-radius: 6px;
    color: #fff !important;
    display: inline-flex;
    font-size: .95rem;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 54px;
    padding: 13px 25px;
    text-decoration: none;
    transition: background-color .2s ease;
}

.hsw-home-link:hover,
.hsw-home-link:focus-visible {
    background: #308c3c;
}

.hsw-home-about {
    padding: 105px 0 115px;
}

.hsw-about-grid {
    align-items: center;
    display: grid;
    gap: clamp(45px, 6vw, 95px);
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.hsw-about-art {
    aspect-ratio: 1.04;
    isolation: isolate;
    margin-inline: auto;
    max-width: 540px;
    position: relative;
    width: 100%;
}

.hsw-about-art::before {
    background: #edf3e9;
    border: 1px solid #e3ebdd;
    border-radius: 32px;
    content: '';
    inset: 7% 0 6% 6%;
    position: absolute;
    z-index: -1;
}

.hsw-about-art > img {
    display: block;
    object-fit: cover;
    position: absolute;
}

.hsw-about-art > .hsw-about-art__main {
    border-radius: 26px;
    box-shadow: 0 14px 36px rgba(30, 61, 42, .12);
    height: 74%;
    left: 0;
    object-position: center 46%;
    top: 0;
    width: 94%;
}

.hsw-about-art > .hsw-about-art__detail {
    border: 8px solid #fff;
    border-radius: 22px;
    bottom: 0;
    box-shadow: 0 16px 35px rgba(30, 61, 42, .18);
    height: 42%;
    object-position: center;
    right: 0;
    width: 59%;
    z-index: 1;
}

.hsw-about-copy h2 {
    max-width: 540px;
}

.hsw-about-points {
    list-style: none;
    margin: 42px 0 0;
    padding: 0;
}

.hsw-about-points li {
    padding: 0 0 24px 52px;
    position: relative;
}

.hsw-about-points li::before {
    background: var(--home-green);
    border-radius: 50%;
    color: #fff;
    content: '✓';
    font-size: .85rem;
    font-weight: 800;
    height: 24px;
    left: 0;
    line-height: 24px;
    position: absolute;
    text-align: center;
    top: 3px;
    width: 24px;
}

.hsw-about-points h3 {
    margin-bottom: 8px;
}

.hsw-about-points p {
    margin: 0;
}

.elementor-6252 .elementor-element-25d32a77 {
    padding-bottom:208px !important;
    padding-top: 20px !important;
}

.hsw-home-reference {
    margin-top: -120px;
    z-index: 2;
}

.hsw-reference-inner {
    align-items: center;
    background: var(--home-green) url('../images/generated/home-band.webp') center / cover;
    border-radius: 14px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    min-height: 210px;
    overflow: hidden;
    padding: 36px 45px;
    position: relative;
    text-align: center;
}

.hsw-reference-inner::before {
    background: rgba(55, 165, 65, .88);
    content: '';
    inset: 0;
    position: absolute;
}

.hsw-reference-inner span {
    color: #fff;
    font-size: clamp(1.2rem, 1.7vw, 1.65rem);
    font-weight: 800;
    line-height: 1.3;
    position: relative;
}

.hsw-home-method {
    background: var(--home-cream) url('../images/home/brand-pattern.svg') center center / cover no-repeat;
    margin-top: -120px;
    min-height: 835px;
    padding: 255px 0 105px;
}

.hsw-method-copy {
    max-width: 600px;
}

.hsw-method-copy > p:not(.hsw-eyebrow) {
    margin: 23px 0 0;
    max-width: 570px;
}

.hsw-method-points {
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
}

.hsw-method-points i {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--home-green);
    display: flex;
    font-size: 1.6rem;
    height: 62px;
    justify-content: center;
    margin-bottom: 18px;
    width: 62px;
}

.hsw-method-points p {
    margin: 7px 0 0;
}

.hsw-home-focus {
    padding: 88px 0 98px;
}

.hsw-home-standards {
    padding: 85px 0 90px;
}

.hsw-section-heading {
    align-items: end;
    display: flex;
    gap: 25px;
    justify-content: space-between;
    margin-bottom: 50px;
}

.hsw-section-heading h2 {
    max-width: 760px;
}

.hsw-focus-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: 230px repeat(2, minmax(0, 1fr));
}

.hsw-focus-list {
    align-self: start;
    display: grid;
    gap: 14px;
}

.hsw-focus-list a {
    background: #edf7ed;
    border-radius: 50px;
    color: var(--home-ink);
    display: block;
    font-weight: 750;
    padding: 14px 20px;
    text-align: center;
}

.hsw-focus-list a:first-child,
.hsw-focus-list a:hover,
.hsw-focus-list a:focus-visible {
    background: var(--home-green);
    color: #fff;
}

.hsw-focus-card,
.hsw-standard-card {
    display: block;
    text-decoration: none;
}

.hsw-focus-card img {
    border-radius: 12px;
    display: block;
    height: 425px;
    object-fit: cover;
    width: 100%;
}

.hsw-focus-card h3 {
    margin-top: 18px;
}

.hsw-focus-card:hover h3,
.hsw-standard-card:hover h3 {
    color: var(--home-green);
}

.hsw-home-standards {
    background: url('../images/home/team-background.png') right 70px / 650px auto no-repeat;
}

.hsw-standard-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hsw-standard-card {
    background: #fff;
    border: 1px solid #e8ece8;
    border-radius: 13px;
    overflow: hidden;
}

.hsw-standard-card img {
    display: block;
    height: 320px;
    object-fit: cover;
    width: 100%;
}

.hsw-standard-card div {
    padding: 25px 28px 30px;
}

.hsw-standard-card p {
    margin: 9px 0 0;
}

.hsw-home-guides {
    background: var(--home-cream) url('../images/home/soft-leaves.png') left bottom / 260px auto no-repeat;
    padding: 88px 0;
}

.hsw-centered-heading {
    margin: 0 auto 45px;
    max-width: 750px;
    text-align: center;
}

.hsw-guide-grid,
.hsw-principle-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hsw-guide-card {
    background: #fff;
    border: 1px solid #e6eae5;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 32px;
}

.hsw-guide-card p {
    flex: 1;
    margin: 14px 0 25px;
}

.hsw-guide-card::after {
    background: linear-gradient(90deg, var(--home-green) 25%, #e2e8e1 25%);
    border-radius: 4px;
    content: '';
    display: block;
    height: 5px;
    margin-top: 25px;
    order: 3;
}

.hsw-guide-card a {
    align-self: start;
    color: #298d37;
    font-weight: 800;
}

.hsw-home-principles {
    background: #fff url('../images/home/testimonial-background.png') right bottom / 500px auto no-repeat;
    margin-top: 100px;
    padding: 72px 0 82px;
}

.hsw-principle-card {
    background: var(--home-cream);
    border-radius: 13px;
    min-height: 265px;
    padding: 35px 38px;
}

.hsw-principle-card .hsw-principle-mark {
    align-items: center;
    border: 2px solid var(--home-green);
    border-radius: 50%;
    color: var(--home-green);
    display: flex;
    font-size: 1.5rem;
    height: 64px;
    justify-content: center;
    margin-bottom: 18px;
    width: 64px;
}

.hsw-principle-card p {
    margin: 12px 0 0;
}

.hsw-home-numbers {
    background: linear-gradient(rgba(24, 25, 25, .79), rgba(24, 25, 25, .79)), url('../images/generated/home-stats.webp') center / cover;
    min-height: 850px;
    padding: 95px 0 460px;
}

.hsw-number-grid {
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    text-align: center;
}

.hsw-number-grid i {
    color: #fff;
    display: block;
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.hsw-number-grid strong {
    color: #fff;
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hsw-number-grid span {
    color: #fff;
    display: block;
    font-weight: 700;
    margin-top: 8px;
}

.hsw-home-contact-wrap {
    background: var(--home-cream) url('../images/home/leaf-shape.png') left bottom / 235px auto no-repeat;
    border-radius: 15px;
    margin: -450px auto 0;
    max-width: 1170px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.hsw-home-contact-wrap > .elementor-section {
    background: transparent;
    padding: 0;
}

.hsw-home-contact-wrap section[data-id='24aca7c6'] {
    padding: 80px;
}

.hsw-home-contact-wrap .about-section-wraper {
    padding-top: 0;
}

.hsw-home-contact-wrap .eco-image img {
    display: block;
    width: 100%;
    height: 610px;
    object-fit: cover;
}

.hsw-home-contact-wrap form input:not([type='submit']),
.hsw-home-contact-wrap form textarea {
    background: #fff;
    border: 1px solid #e6eae5;
    border-radius: 5px;
}

.elementor-6252 .elementor-element-1caf81ee {
    padding-bottom: 125px !important;
    padding-top: 115px !important;
}

@media (max-width: 1024px) {
    .hsw-about-grid { gap: 35px; }
    .hsw-home-method { background-position: 64% center; }
    .hsw-focus-grid { grid-template-columns: 170px repeat(2, minmax(0, 1fr)); }
    .hsw-home-contact-wrap { margin-inline: 20px; }
}

@media (max-width: 991px) {
    .hsw-about-grid {
        gap: 48px;
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .ecofine-template-home .eco-single-slide-item {
        background-image: linear-gradient(rgba(255,255,255,.87), rgba(255,255,255,.87)), url('../images/generated/home-hero.webp') !important;
        background-position: 68% center;
        min-height: 680px;
    }
    .ecofine-template-home .eco-settings-content { transform: translateY(70px); }
    .ecofine-template-home .eco-slide-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .hsw-home-container { width: min(100% - 28px, 560px); }
    .hsw-home-section h2 { font-size: clamp(2rem, 8vw, 2.5rem); }
    .hsw-home-about { padding: 75px 0 90px; }
    .hsw-about-grid { display: block; }
    .hsw-about-art { aspect-ratio: 1; margin-bottom: 42px; }
    .hsw-about-art > .hsw-about-art__main { border-radius: 20px; }
    .hsw-about-art > .hsw-about-art__detail { border-width: 6px; height: 44%; width: 61%; }
    .elementor-6252 .elementor-element-25d32a77 { padding: 75px 0 135px !important; }
    .hsw-home-reference { margin-top: -65px; }
    .hsw-reference-inner { gap: 24px 12px; grid-template-columns: repeat(2, 1fr); min-height: 205px; padding: 30px 18px; }
    .hsw-reference-inner span { font-size: 1rem; }
    .hsw-home-method { background-image: linear-gradient(rgba(248,247,240,.88), rgba(248,247,240,.88)), url('../images/home/brand-pattern.svg'); margin-top: -75px; min-height: 0; padding: 180px 0 95px; }
    .hsw-method-points { gap: 25px; }
    .hsw-home-focus, .hsw-home-standards { padding: 80px 0 95px; }
    .hsw-section-heading { align-items: start; flex-direction: column; margin-bottom: 35px; }
    .hsw-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hsw-focus-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .hsw-focus-list a { font-size: .85rem; padding: 12px 8px; }
    .hsw-focus-card img { height: 250px; }
    .hsw-standard-grid { grid-template-columns: 1fr; }
    .hsw-standard-card img { height: 250px; }
    .hsw-home-guides, .hsw-home-principles { padding: 80px 0 95px; }
    .hsw-guide-grid, .hsw-principle-grid { grid-template-columns: 1fr; }
    .hsw-home-numbers { min-height: 690px; padding: 85px 0 280px; }
    .hsw-number-grid { gap: 38px 12px; grid-template-columns: repeat(2, 1fr); }
    .hsw-number-grid strong { font-size: 2.7rem; }
    .hsw-home-contact-wrap { margin: -210px 14px 0; }
    .hsw-home-contact-wrap section[data-id='24aca7c6'] { padding: 35px 20px 50px; }
    .hsw-home-contact-wrap .eco-image img { height: 390px; }
    .elementor-6252 .elementor-element-1caf81ee { padding: 90px 0 110px !important; }
}

@media (max-width: 480px) {
    .hsw-method-points, .hsw-focus-grid { grid-template-columns: 1fr; }
    .hsw-focus-list { grid-template-columns: 1fr; }
    .hsw-focus-card img { height: 300px; }
    .hsw-home-numbers { min-height: 780px; }
    .hsw-number-grid { gap: 30px 10px; }
}
