/* assets/css/catalog.css */

.cw-catalog-page {
    background: #fff;
    color: #202938;
}

.cw-catalog-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

/* HERO */

.cw-catalog-hero {
    min-height: 560px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: auto 92%;
    background-position: right center;
    display: flex;
    align-items: center;
}

.cw-catalog-hero-content {
    width: 46%;
    max-width: 560px;
    padding: 36px 0 70px;
    position: relative;
    z-index: 2;
}

.cw-catalog-breadcrumb {
    margin-bottom: 38px;
    font-size: 13px;
    font-weight: 600;
    color: #8b98a8;
}

.cw-catalog-breadcrumb a {
    color: #8b98a8;
    text-decoration: none;
}

.cw-catalog-breadcrumb strong,
.cw-catalog-kicker {
    color: #019582;
}

.cw-catalog-breadcrumb span {
    margin: 0 8px;
}

.cw-catalog-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cw-catalog-hero h1 {
    margin: 0;
    color: #202938;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.8px;
}

.cw-catalog-hero h1 strong {
    color: #019582;
}

.cw-catalog-hero h2 {
    max-width: 480px;
    margin: 24px 0 0;
    color: #202938;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 800;
}

.cw-catalog-hero p {
    max-width: 520px;
    margin: 18px 0 0;
    color: #5f6b7a;
    font-size: 15px;
    line-height: 1.75;
}

.cw-catalog-hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 520px;
    margin-top: 34px;
}

.cw-catalog-hero-features div {
    text-align: center;
}

.cw-catalog-hero-features i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    color: #019582;
    font-size: 24px;
}

.cw-catalog-hero-features span {
    display: block;
    color: #202938;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
}

/* INTRO */

.cw-guideline-intro {
    padding: 70px 0 58px;
    background: #f7fbfb;
}

.cw-guideline-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.cw-guideline-text h2,
.cw-catalog-centered h2 {
    margin: 0;
    color: #202938;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.6px;
}

.cw-guideline-text h2::after,
.cw-catalog-centered h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin-top: 18px;
    background: #dcd238;
    border-radius: 20px;
}

.cw-guideline-text p {
    margin: 20px 0 0;
    color: #5f6b7a;
    font-size: 15px;
    line-height: 1.75;
}

.cw-guideline-text h3 {
    margin: 26px 0 16px;
    color: #202938;
    font-size: 17px;
    font-weight: 900;
}

.cw-guideline-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.cw-guideline-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #344254;
    font-size: 14px;
    font-weight: 700;
}

.cw-guideline-list i {
    color: #019582;
    font-size: 15px;
}

.cw-guideline-media {
    padding: 16px;
    border-radius: 18px;
    background: #019582;
    box-shadow: 0 24px 60px rgba(20, 47, 58, .12);
}

.cw-guideline-media img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* INCLUDED */

.cw-included {
    padding: 42px 0 70px;
}

.cw-catalog-centered {
    margin-bottom: 34px;
    text-align: center;
}

.cw-catalog-centered h2::after {
    margin-left: auto;
    margin-right: auto;
}

.cw-included-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.cw-included-grid div {
    min-height: 180px;
    padding: 26px 18px;
    border: 1px solid #dce5e8;
    border-radius: 13px;
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(27, 43, 58, .05);
}

.cw-included-grid i {
    color: #019582;
    font-size: 38px;
    margin-bottom: 18px;
}

.cw-included-grid h3 {
    margin: 0 0 10px;
    color: #202938;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

.cw-included-grid p {
    margin: 0;
    color: #667384;
    font-size: 12px;
    line-height: 1.6;
}

/* FLIPBOOK EXPERIENCE */

.cw-flipbook-experience{
    padding:34px 0 70px;
}

.cw-flipbook-box{
    display:grid;
    grid-template-columns:42% 58%;
    min-height:250px;
    border-radius:14px;
    overflow:hidden;
    background:#007f6e;
    box-shadow:0 18px 50px rgba(0,0,0,.08);
}

.cw-flipbook-left{
    padding:42px 36px;
    background:linear-gradient(135deg,#007f6e,#005f55);
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.cw-flipbook-left span{
    display:block;
    width:36px;
    height:4px;
    margin-bottom:16px;
    background:#dcd238;
    border-radius:20px;
}

.cw-flipbook-left h2{
    margin:0 0 16px;
    color:#fff;
    font-size:30px;
    line-height:1.15;
    font-weight:900;
}

.cw-flipbook-left p{
    margin:0;
    color:rgba(255,255,255,.9);
    font-size:14px;
    line-height:1.7;
}

.cw-flipbook-icons{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-top:30px;
}

.cw-flipbook-icons div{
    text-align:center;
}

.cw-flipbook-icons i{
    width:50px;
    height:50px;
    margin:0 auto 10px;
    border-radius:50%;
    background:#fff;
    color:#019582;
    display:grid;
    place-items:center;
    font-size:22px;
}

.cw-flipbook-icons strong,
.cw-flipbook-icons span{
    display:block;
    color:#fff;
    font-size:12px;
    line-height:1.25;
    font-weight:900;
}

.cw-flipbook-right{
    overflow:hidden;
}

.cw-flipbook-right img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
}

/* PROCESS */

.cw-catalog-process {
    padding: 0 0 54px;
}

.cw-process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 46px;
}

.cw-process-line::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: rgba(1,149,130,.35);
}

.cw-process-line > div {
    position: relative;
}

.cw-process-line span {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #007866;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.cw-process-line i {
    color: #019582;
    font-size: 38px;
    margin-bottom: 16px;
}

.cw-process-line h3 {
    margin: 0 0 8px;
    color: #202938;
    font-size: 15px;
    font-weight: 900;
}

.cw-process-line p {
    margin: 0;
    color: #667384;
    font-size: 13px;
    line-height: 1.65;
}

/* SAMPLE PAGES */

.cw-sample-pages {
    padding: 0 0 56px;
}

.cw-sample-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.cw-sample-grid a {
    position: relative;
    display: block;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    background: #f7fafb;
    border: 1px solid #e1e8ea;
    box-shadow: 0 14px 34px rgba(27, 43, 58, .06);
}

.cw-sample-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .25s ease;
}

.cw-sample-grid span {
    position: absolute;
    inset: auto 50% 18px auto;
    transform: translateX(50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 16px;
    border-radius: 30px;
    background: rgba(12, 20, 30, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.cw-sample-grid a:hover img {
    transform: scale(1.05);
}

.cw-empty-samples {
    text-align: center;
    color: #697586;
}

.cw-sample-button-wrap {
    margin-top: 24px;
    text-align: center;
}

.cw-sample-button-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px;
    border: 1px solid #019582;
    border-radius: 5px;
    color: #019582;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

/* BENEFITS */

.cw-catalog-benefits {
    padding: 0 0 62px;
}

.cw-benefit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.cw-benefit-grid div {
    text-align: left;
}

.cw-benefit-grid i {
    color: #019582;
    font-size: 38px;
    margin-bottom: 16px;
}

.cw-benefit-grid h3 {
    margin: 0 0 8px;
    color: #202938;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
}

.cw-benefit-grid p {
    margin: 0;
    color: #667384;
    font-size: 13px;
    line-height: 1.6;
}

/* CTA */

.cw-catalog-cta {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto 70px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #007866;
}

.cw-catalog-cta-inner {
    min-height: 150px;
    display: grid;
    grid-template-columns: 78px 1.35fr 1fr auto;
    gap: 28px;
    align-items: center;
    color: #fff;
}

.cw-catalog-cta-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    color: #019582;
    display: grid;
    place-items: center;
    font-size: 25px;
}

.cw-catalog-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.5px;
}

.cw-catalog-cta p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.7;
}

.cw-catalog-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 5px;
    background: #dcd238;
    color: #18222f;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

/* LIGHTBOX */

.cw-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0,0,0,.88);
}

.cw-lightbox-overlay.active {
    display: flex;
}

.cw-lightbox-overlay img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.cw-lightbox-close {
    position: fixed;
    top: 22px;
    right: 28px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .cw-catalog-hero h1 {
        font-size: 46px;
    }

    .cw-included-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cw-benefit-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cw-catalog-cta-inner {
        grid-template-columns: 70px 1fr;
        padding: 30px 0;
    }

    .cw-catalog-cta a {
        width: max-content;
    }
}

@media (max-width: 900px) {
    .cw-catalog-container,
    .cw-catalog-cta {
        width: min(100% - 34px, 1180px);
    }

    .cw-catalog-hero {
        min-height: auto;
        padding: 60px 0 360px;
        background-size: 760px auto;
        background-position: bottom center;
    }

    .cw-catalog-hero-content {
        width: 100%;
    }

    .cw-guideline-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .cw-process-line {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-process-line::before {
        display: none;
    }

    .cw-sample-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cw-flipbook-box {
        grid-template-columns: 1fr;
    }

    .cw-flipbook-right img {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .cw-catalog-container,
    .cw-catalog-cta {
        width: min(100% - 30px, 1180px);
    }

    .cw-catalog-hero {
        padding-bottom: 280px;
        background-size: 680px auto;
    }

    .cw-catalog-hero h1 {
        font-size: 34px;
    }

    .cw-catalog-hero h2 {
        font-size: 16px;
    }

    .cw-catalog-hero-features,
    .cw-guideline-list,
    .cw-flipbook-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-included-grid,
    .cw-process-line,
    .cw-sample-grid,
    .cw-benefit-grid {
        grid-template-columns: 1fr;
    }

    .cw-flipbook-left {
        padding: 34px 24px;
    }

    .cw-catalog-cta-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 0;
    }

    .cw-catalog-cta h2 {
        font-size: 24px;
    }

    .cw-lightbox-overlay {
        padding: 18px;
    }
}