/* isomass-home.css - homepage styles: home-1-2 + home-3-4 merged */

/* ---------- home-1-2 (hero + image questions) ---------- */
/* ========================================
  HERO SECTION STYLES
======================================== */

.hero {
   position: relative;
   height: 100vh;
   min-height: 600px;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   color: white;
   overflow: hidden;
   margin-top: -114px;
   padding-top: 114px;
}

.hero-background {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-image: url('/images/isomass-homepage-bg.jpg');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   z-index: -2;
}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
   z-index: -1;
}

.hero-content {
   max-width: 1240px;
   width: 95%;
   margin: 0 auto;
   padding: 0 20px;
}

/* Hero gets a wider container than the site default so the USPs sit on one line */
.hero .container {
   max-width: 1240px;
   width: 100%;
}

/* Eyebrow - the page H1, kept small so the hook can lead visually */
.hero .hero-eyebrow {
   display: inline-block;
   font-size: 0.78rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 2px;
   line-height: 1.4;
   color: rgba(255, 255, 255, 0.92);
   background-color: rgba(255, 255, 255, 0.12);
   border: 1px solid rgba(255, 255, 255, 0.25);
   padding: 7px 16px;
   border-radius: 50px;
   margin: 0 0 22px;
}

.hero-hook {
   font-size: 3rem;
   font-weight: 700;
   line-height: 1.18;
   margin: 0 auto 30px;
   max-width: 900px;
   text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-usps {
   list-style: none;
   padding: 0;
   margin: 0 0 35px;
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 12px 30px;
}

.hero-usps li {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-size: 1rem;
   font-weight: 500;
   text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-usps i {
   width: 22px;
   height: 22px;
   border-radius: 50%;
   background-color: #d21e2b;
   color: #ffffff;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 0.65rem;
   flex-shrink: 0;
   text-shadow: none;
}

.hero-actions {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   gap: 20px;
}

.hero-cta-btn,
.hero-cta-btn:link,
.hero-cta-btn:visited {
   background-color: #d21e2b;
   color: white;
   display: inline-block;
   text-decoration: none;
   border: none;
   padding: 15px 34px;
   font-size: 1rem;
   font-weight: 600;
   border-radius: 8px;
   cursor: pointer;
   transition: all 0.3s ease;
   font-family: 'Mona Sans', sans-serif;
   text-transform: none;
   letter-spacing: 0.3px;
}

.hero-cta-btn:hover,
.hero-cta-btn:focus {
   background-color: #b01a24;
   color: white;
   text-decoration: none;
   transform: translateY(-2px);
   box-shadow: 0 5px 15px rgba(210, 30, 43, 0.4);
}

/* ========================================
  HERO RESPONSIVE DESIGN
======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
   .hero-usps {
       flex-direction: column;
       align-items: flex-start;
       width: fit-content;
       max-width: 100%;
       gap: 12px;
       margin: 0 auto 35px;
   }
   
   .hero-usps li {
       font-size: 1rem;
       text-align: left;
   }
   
   .hero-hook {
       font-size: 2.6rem;
   }
   
   .hero-cta-btn {
       font-size: 0.95rem;
   }
}

/* Mobile Styles */
@media (max-width: 768px) {
   .hero {
       min-height: 640px;
       height: auto;
       padding-top: 130px;
       padding-bottom: 60px;
       margin-top: -80px;
   }
   
   .hero .hero-eyebrow {
       font-size: 0.72rem;
       letter-spacing: 1.5px;
       margin-bottom: 20px;
   }
   
   .hero-hook {
       font-size: 2.1rem;
       margin-bottom: 25px;
   }
   
   .hero-actions {
       flex-direction: column;
       gap: 18px;
   }
   
   .hero-cta-btn {
       padding: 15px 30px;
       font-size: 0.95rem;
   }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
   .hero-content {
       width: 100%;
       padding: 0 15px;
   }
   
   .hero .hero-eyebrow {
       font-size: 0.68rem;
       letter-spacing: 1px;
       padding: 7px 14px;
       border-radius: 20px;
   }
   
   .hero-hook {
       font-size: 1.75rem;
   }
   
   .hero-usps li {
       font-size: 0.92rem;
   }
}

/* ========================================
   ISOMASS IMAGE QUESTIONS SECTION STYLES
======================================== */

.isomass-image-questions {
    padding: 10px;
    background-color: #f3f3f3;
}

.isomass-image-questions-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
}

.image-question-item {
    position: relative;
    overflow: hidden;
}

.image-question-item a {
    display: block;
    text-decoration: none;
}

.image-question-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   ISOMASS IMAGE QUESTIONS RESPONSIVE DESIGN
======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .isomass-image-questions-content {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .isomass-image-questions {
        padding: 10px 0;
    }
    
    .isomass-image-questions-content {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .isomass-image-questions-content::-webkit-scrollbar {
        display: none;
    }
    
    .image-question-item {
        flex: 0 0 70%;
    }
    
    .image-question-item img {
        border-radius: 8px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .image-question-item {
        flex: 0 0 80%;
    }
}

/* ---------- home-3-4 (intro + reviews + who-we-work-with) ---------- */
/* ========================================
   ISOMASS INTRO SECTION STYLES
   One padded white panel: text left, framed photo right, CTA bar inside along the bottom
======================================== */

.isomass-intro {
    background-color: #ffffff;
    padding: 90px 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.isomass-intro-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.isomass-intro-content {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text {
    padding: 0;
}

.isomass-intro-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    position: relative;
    padding-bottom: 16px;
    margin: 0 0 24px;
}

.isomass-intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: #d21e2b;
}

.intro-summary {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #222;
    font-weight: 500;
    margin: 0 0 22px;
}

.intro-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-bullets li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.intro-bullets li:last-child {
    margin-bottom: 0;
}

/* Small red tick badge */
.intro-bullets li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fdeff0;
    color: #d21e2b;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Photo sits inside the panel on an offset red-tint frame */
.intro-image {
    position: relative;
    padding: 0 16px 16px 0;
}

.intro-image::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 0;
    bottom: 0;
    background-color: #fdeff0;
    border-radius: 14px;
}

.intro-image img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
}

/* Black CTA bar inside the panel, under both columns */
.intro-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 24px 30px;
}

.intro-cta-panel p {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

.intro-cta-btn {
    flex-shrink: 0;
    display: inline-block;
    background-color: #d21e2b;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.intro-cta-btn:hover,
.intro-cta-btn:focus {
    background-color: #b01a24;
    color: #ffffff;
    text-decoration: none;
}

/* ========================================
   WHAT WE SUPPLY SECTION
   Grey band, six white cards grouped by where the products are used
======================================== */

.isomass-home-products {
    background-color: #f3f3f3;
    padding: 90px 0;
}

.home-products-header {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.home-products-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    margin: 0 0 20px;
}

.home-products-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #d21e2b;
}

.home-products-header p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-product-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(210, 30, 43, 0.35);
    box-shadow: 0 16px 36px rgba(210, 30, 43, 0.12);
    text-decoration: none;
    color: inherit;
}

.home-product-card:focus-visible {
    outline: 3px solid #d21e2b;
    outline-offset: 3px;
}

.home-product-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f7f7f7;
}

.home-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.04);
}

.home-product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 26px 24px;
}

.home-product-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
    margin: 0 0 8px;
    transition: color 0.3s ease;
}

.home-product-card:hover .home-product-body h3 {
    color: #d21e2b;
}

.home-product-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px;
}

/* What each range helps with - short ticked list */
.home-product-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 9px;
}

.home-product-benefits li {
    position: relative;
    padding-left: 28px;
    font-size: 0.93rem;
    line-height: 1.5;
    color: #444;
}

.home-product-benefits li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fdeff0;
    color: #d21e2b;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-product-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #d21e2b;
    font-size: 0.95rem;
    font-weight: 700;
}

.home-product-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.home-product-card:hover .home-product-link::after {
    transform: translateX(4px);
}

.home-products-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    text-align: center;
}

.home-products-footer p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.home-products-btn {
    display: inline-block;
    background-color: #d21e2b;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.home-products-btn:hover {
    background-color: #b01a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(210, 30, 43, 0.35);
    color: #ffffff;
    text-decoration: none;
}

/* ========================================
   INTRO + WHAT WE SUPPLY - RESPONSIVE
======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .isomass-intro,
    .isomass-home-products {
        padding: 70px 0;
    }

    .isomass-intro-panel {
        padding: 38px 35px;
    }

    .isomass-intro-content {
        gap: 35px;
    }

    .isomass-intro-title {
        font-size: 1.65rem;
    }

    .intro-cta-panel {
        margin-top: 32px;
        padding: 22px 25px;
    }

    .home-products-header h2 {
        font-size: 2rem;
    }

    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .isomass-intro,
    .isomass-home-products {
        padding: 50px 0;
    }

    .isomass-intro-content {
        grid-template-columns: 1fr;
    }

    .isomass-intro-panel {
        padding: 25px 22px;
    }

    .isomass-intro-content {
        gap: 28px;
    }

    .intro-image {
        order: -1;
        padding: 0 10px 10px 0;
    }

    .intro-image::before {
        top: 10px;
        left: 10px;
    }

    .isomass-intro-title {
        font-size: 1.45rem;
    }

    .intro-summary {
        font-size: 1.03rem;
    }

    .intro-cta-panel {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
        margin-top: 28px;
        padding: 22px 20px;
    }

    .intro-cta-panel p {
        font-size: 1rem;
    }

    .home-products-header {
        margin-bottom: 30px;
    }

    .home-products-header h2 {
        font-size: 1.7rem;
    }

    .home-products-header p {
        font-size: 1rem;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        gap: 20px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .isomass-intro-panel {
        padding: 20px 16px;
    }

    .isomass-intro-title {
        font-size: 1.3rem;
    }

    .intro-bullets li {
        font-size: 0.95rem;
    }

    .home-products-header h2 {
        font-size: 1.5rem;
    }

    .home-product-body {
        padding: 20px 20px;
    }

    .home-products-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   ISOMASS WHO WE WORK WITH SECTION STYLES
   One joined panel on white: header, then three audiences split by thin lines
======================================== */

.isomass-who-we-work-with {
    background-color: #ffffff;
    padding: 90px 0;
}

.work-with-header {
    text-align: center;
    margin-bottom: 45px;
}

.work-with-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    margin: 0;
}

.work-with-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #d21e2b;
}

.work-with-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.work-with-item {
    display: flex;
    flex-direction: column;
    padding: 40px 34px 36px;
    transition: background-color 0.3s ease;
}

.work-with-item + .work-with-item {
    border-left: 1px solid #eee;
}

.work-with-item:hover {
    background-color: #fdeff0;
}

.work-with-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: #d21e2b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 22px;
    box-shadow: 0 8px 18px rgba(210, 30, 43, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.work-with-item:hover .work-with-icon {
    background-color: #1a1a1a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.work-with-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
    margin: 0 0 18px;
}

.work-with-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 12px;
}

.work-with-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    line-height: 1.6;
    color: #444;
}

.work-with-points li i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background-color: #fdeff0;
    color: #d21e2b;
    font-size: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.work-with-item:hover .work-with-points li i {
    background-color: #ffffff;
}

/* Text link with arrow, pinned to the bottom so all three line up */
.work-with-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid #d21e2b;
    border-radius: 8px;
    color: #d21e2b;
    background-color: transparent;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.work-with-btn::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.work-with-btn:hover,
.work-with-btn:focus {
    background-color: #d21e2b;
    color: #ffffff;
    text-decoration: none;
}

.work-with-btn:hover::after {
    transform: translateX(4px);
}

/* ========================================
   ISOMASS WHO WE WORK WITH RESPONSIVE DESIGN
======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .isomass-who-we-work-with {
        padding: 70px 0;
    }

    .work-with-header h2 {
        font-size: 2rem;
    }

    .work-with-item {
        padding: 32px 24px 30px;
    }

    .work-with-item h3 {
        font-size: 1.15rem;
    }
}

/* Mobile - 768px: stacked, lines between rows */
@media (max-width: 768px) {
    .isomass-who-we-work-with {
        padding: 50px 0;
    }

    .work-with-header {
        margin-bottom: 30px;
    }

    .work-with-header h2 {
        font-size: 1.7rem;
    }

    .work-with-content {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .work-with-item + .work-with-item {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .work-with-item {
        padding: 30px 25px;
    }

    .work-with-btn {
        align-self: stretch;
        justify-content: center;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .work-with-header h2 {
        font-size: 1.5rem;
    }

    .work-with-item {
        padding: 26px 20px;
    }

    .work-with-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .work-with-points li {
        font-size: 0.93rem;
    }
}
