/*
 * HERO
 */
.home-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    margin-top: -73px;
}

.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.home-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8,82,95,0.55);
    z-index: 2;
}*/

.home-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    padding-top: 8rem;
    padding-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-hero-title {
    font-size: 2.2rem;
    line-height: 2.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.home-hero-subtitle {
    font-family: 'Mr Dodo', 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.home-hero-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: white;
    z-index: 4;
    clip-path: polygon(
        0% 100%, 0% 50%, 3% 100%, 8% 40%, 15% 90%, 22% 45%, 30% 100%, 38% 50%, 45% 95%, 52% 40%, 60% 100%, 68% 45%, 75% 90%, 82% 50%, 90% 100%, 95% 55%, 100% 85%, 100% 100%
    );
}

@media (min-width: 768px) {
    .home-hero-title {
        font-size: 3.2rem;
        line-height: 3.8rem;
    }
}

/*
 * INTRO
 */
.home-intro {
    padding: 4rem 0 0;
    text-align: center;
}

.home-intro-content {
    max-width: 760px;
}

.home-intro-title {
    font-family: 'Mr Dodo', 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 2.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #08525F;
    margin-bottom: 1.25rem;
}

.home-intro-text {
    font-size: 1rem;
    line-height: 1.7rem;
    color: var(--grey-500);
}

@media (min-width: 768px) {
    .home-intro-title {
        font-size: 2.8rem;
        line-height: 3.2rem;
    }
}

/*
 * TRUSTED
 */
.home-trusted-section {
    background-color: rgba(25, 185, 185, 0.12);
    position: relative;
    padding: 5rem 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.home-trusted-section::before,
.home-trusted-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background-color: rgba(25, 185, 185, 0.12);
    z-index: 2;
}

.home-trusted-section::before {
    top: -1px;
    clip-path: polygon(
        0% 0%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 0%
    );
}

.home-trusted-section::after {
    bottom: -1px;
    clip-path: polygon(
        0% 100%, 0% 50%, 3% 100%, 8% 40%, 15% 90%, 22% 45%, 30% 100%, 38% 50%, 45% 95%, 52% 40%, 60% 100%, 68% 45%, 75% 90%, 82% 50%, 90% 100%, 95% 55%, 100% 85%, 100% 100%
    );
}

.home-trusted {
    text-align: center;
    position: relative;
}

.home-trusted-label {
    font-family: 'Mr Dodo', 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 3rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #08525F;
    /*margin-bottom: 2rem;*/
}

@media (min-width: 768px) {
    .home-trusted-label {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

.home-trusted-grid {
    display: flex;
    flex-direction: column;
    /*gap: 3rem;*/
}

.home-trusted-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.home-trusted-item-content {
    flex: 1;
}

.home-trusted-item-image {
    flex-shrink: 0;
    max-width: 280px;
}

.home-trusted-item-image img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .home-trusted-item {
        flex-direction: row;
        gap: 3rem;
    }

    .home-trusted-item--left {
        text-align: left;
    }

    .home-trusted-item--right {
        flex-direction: row-reverse;
        text-align: right;
    }

    .home-trusted-item-image {
        max-width: 340px;
    }
}

.home-trusted-item-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    width: fit-content;
    background-color: #08525F;
    margin-bottom: 1rem;
    clip-path: var(--rough-edge);
}

.home-trusted-item p {
    font-size: 0.95rem;
    line-height: 1.7rem;
    color: var(--grey-500);
}

/*
 * PRODUCTS
 */
.home-products {
    padding: 1.5rem 0 3rem;
    position: relative;
    margin-bottom: 1rem;
}

.home-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.home-products-card {
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--grey-500);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    clip-path: polygon(
        0% 1%, 3% 0%, 8% 1.5%, 15% 0%, 22% 1%, 30% 0%, 38% 1.5%, 45% 0%, 52% 1%, 60% 0%, 68% 1.5%, 75% 0%, 82% 1%, 90% 0%, 95% 1.5%, 100% 0.5%,
        100% 98.5%, 97% 100%, 92% 98.5%, 85% 100%, 78% 99%, 70% 100%, 62% 98.5%, 55% 100%, 48% 99%, 40% 100%, 32% 98.5%, 25% 100%, 18% 99%, 10% 100%, 5% 98.5%, 0% 99%
    );
}

.home-products-card:hover {
    transform: translateY(-6px);
}

.home-products-card-image {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin-bottom: 1.25rem;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-products-card:hover .home-products-card-image {
    transform: scale(1.08) rotate(-3deg);
}

.home-products-card-label {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    background-color: #08525F;
    margin-bottom: 1rem;
    clip-path: var(--rough-edge);
}

.home-products-card p {
    font-size: 0.95rem;
    line-height: 1.7rem;
}

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

/*
 * WHY CHOOSE
 */
.home-why {
    padding: 4rem 0;
    text-align: center;
}

.home-why-label {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.8rem;
    display: inline-block;
    background-color: #08525F;
    margin-bottom: 1.5rem;
    clip-path: var(--rough-edge);
}

.home-why-subtitle {
    font-size: 1rem;
    line-height: 1.7rem;
    color: var(--grey-500);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.home-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.home-why-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.home-why-item img {
    height: 3.5rem;
    margin-bottom: 1.2rem;
}

.home-why-item-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #08525F;
    margin-bottom: 0.75rem;
}

.home-why-item p {
    font-size: 0.95rem;
    line-height: 1.6rem;
    color: var(--grey-500);
}

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

/*
 * CTA
 */
.home-cta {
    background-color: #08525F;
    padding: 4rem 0;
    position: relative;
    margin-top: 1rem;
    margin-bottom: -4rem;
    padding-bottom: 8rem;
}

.home-cta::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: #08525F;
    clip-path: polygon(
        0% 100%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 100%
    );
}

.home-cta-content {
    text-align: center;
}

.home-cta-pretitle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #19B9B9;
    margin-bottom: 0.75rem;
}

.home-cta-title {
    font-size: 1.8rem;
    line-height: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 2rem;
}

.home-cta-btn {
    display: inline-block;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7rem 2.5rem;
    background-color: #19B9B9;
    transition: opacity 0.2s ease;
    clip-path: var(--rough-edge);
}

.home-cta-btn:hover {
    opacity: 0.85;
}

@media (min-width: 768px) {
    .home-cta-title {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }
}
