/* ==========================================================
   OFERTA
   Warmiński Zakład Pogrzebowy
   Mobile first
   ========================================================== */


/* ==========================================================
   PAGE / TYPOGRAPHY
   ========================================================== */

.offer-page h1,
.offer-page h2 {
    letter-spacing: -.03em;
}


/* ==========================================================
   BREADCRUMBS
   ========================================================== */


.offer-breadcrumbs a:hover {
    color: #0F332B;
}


/* ==========================================================
   HERO
   ========================================================== */

.offer-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 0px;
}

.offer-hero__grid {
    display: grid;
    gap: 46px;
}

.offer-hero__content {
    position: relative;
    z-index: 2;
}

.offer-hero h1 {
    max-width: 13ch;
    margin: 0;
    color: #0F332B;
    font-size: clamp(39px, 11vw, 50px);
    line-height: 1.04;
}

.offer-hero__lead {
  max-width:52ch;
}

.offer-hero__actions {
    display: grid;
    gap: 11px;
    margin-top: 30px;
}

.offer-hero__actions .button {
    width: 100%;
    min-height: 54px;
    justify-content: center;
}


/* HERO PRIMARY */

.offer-button--primary {
    border: 1px solid #0F332B !important;
    background: #0F332B !important;
    color: #FFFEFA !important;
}

.offer-button--primary:hover {
    border-color: #24342F !important;
    background: #24342F !important;
    color: #FFFEFA !important;
}


/* HERO WHATSAPP */

.offer-button--secondary {
    border: 1px solid #0F332B !important;
    background: transparent !important;
    color: #0F332B !important;
}

.offer-button--secondary:hover {
    background: #0F332B !important;
    color: #FFFEFA !important;
}



/* ==========================================================
   FEATURED — ORGANIZACJA POGRZEBU
   ========================================================== */

.offer-featured {
    padding: 70px 0;
    background: #FFFEFA;
}

.offer-featured__grid {
    display: grid;
    gap: 45px;
}

.offer-featured__content {
    max-width: 720px;
}

.offer-featured h2 {
    max-width: 13ch;
    margin: 0;
    color: #0F332B;
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.08;
}

.offer-featured__lead {
    max-width: 54ch;
    margin: 22px 0 0;
    color: #24342F;
    font-size: 19px;
    line-height: 1.58;
}

.offer-featured__content > p:not(.offer-eyebrow):not(.offer-featured__lead) {
    max-width: 58ch;
    margin: 18px 0 0;
    color: #56645B;
    font-size: 16px;
    line-height: 1.65;
}


/* ==========================================================
   SECTION HEADERS
   ========================================================== */

.offer-section,
.offer-specialist {
    padding: 72px 0;
}

.offer-section__header {
    max-width: 790px;
    margin-bottom: 40px;
}

.offer-section h2,
.offer-specialist h2 {
    max-width: 17ch;
    margin: 0;
    color: #0F332B;
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.08;
}

.offer-section__intro {
    max-width: 57ch;
    margin: 20px 0 0;
    color: #56645B;
    font-size: 17px;
    line-height: 1.62;
}


/* ==========================================================
   CEREMONY — DARK GREEN
   ========================================================== */

.offer-ceremony {
    padding: 72px 0;
    background: #0F332B;
    color: #FFFEFA;
}

.offer-ceremony h2 {
    max-width: 16ch;
    margin: 0;
    color: #FFFEFA;
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.offer-ceremony .offer-section__intro {
    color: rgba(255, 254, 250, .74);
}


/* ==========================================================
   OFFER LIST
   ========================================================== */

.offer-list {
    border-top: 1px solid #CDD3C8;
}

.offer-item {
    padding: 28px 0 30px;
    border-bottom: 1px solid #CDD3C8;
}

.offer-item__content {
    max-width: 630px;
}

.offer-item h3 {
    margin: 0;
    color: #0F332B;
    font-size: 21px;
    line-height: 1.25;
}

.offer-item p {
    max-width: 55ch;
    margin: 10px 0 0;
    color: #56645B;
    font-size: 15px;
    line-height: 1.65;
}

.offer-item__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(161, 135, 80, .72);
    color: #0F332B;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.offer-item__link span {
    color: #A18750;
    transition: transform .2s ease;
}

.offer-item__link:hover span {
    transform: translateX(3px);
}


/* DARK LIST */

.offer-list--dark {
    border-top-color: rgba(215, 198, 158, .36);
}

.offer-list--dark .offer-item {
    border-bottom-color: rgba(215, 198, 158, .28);
}

.offer-list--dark .offer-item h3 {
    color: #FFFEFA;
}

.offer-list--dark .offer-item p {
    color: rgba(255, 254, 250, .70);
}

.offer-list--dark .offer-item__link {
    border-bottom-color: rgba(215, 198, 158, .70);
    color: #FFFEFA;
}

.offer-list--dark .offer-item__link span {
    color: var(--color-gold-light);
}


/* ==========================================================
   SPECIALIST
   ========================================================== */

.offer-specialist {
    background: #E8EDE5;
}


/* ==========================================================
   CONTACT
   ========================================================== */


.offer-contact__content {
    max-width: 680px;
}

.offer-contact h2 {
    max-width: 13ch;
    margin: 0;
    color: #FFFEFA;
    font-family: "Lora", serif;
    font-size: clamp(32px, 8vw, 44px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.offer-contact__content > p:not(.offer-eyebrow) {
    max-width: 53ch;
    margin: 20px 0 0;
    color: rgba(255, 254, 250, .76);
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   PHOTOS
   ========================================================= */

.offer-hero__visual,
.offer-featured__visual {
    position: relative;
    overflow: hidden;

    /* wyjście poza mobilny padding .container */
    width: calc(100% + 40px);
    margin-left: -20px;

    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.offer-hero__visual img,
.offer-featured__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 768px) {

    

    .offer-hero {
        padding-top: 42px;
        padding-bottom: 88px;
    }

    .offer-hero h1 {
        font-size: 50px;
    }

    .offer-hero__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .offer-hero__actions .button {
        width: auto;
        min-width: 180px;
    }



    /* FEATURED */

    .offer-featured {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .offer-featured__grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
        align-items: center;
        gap: 70px;
    }


    /* SECTIONS */

    .offer-section,
    .offer-specialist,
    .offer-ceremony {
        padding-top: 86px;
        padding-bottom: 86px;
    }

    .offer-section__header {
        margin-bottom: 48px;
    }


    /* LISTS */

    .offer-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-item {
        min-height: 220px;
        padding: 32px 28px 35px;
    }

    .offer-item:nth-child(odd) {
        border-right: 1px solid #CDD3C8;
    }

    .offer-list--dark .offer-item:nth-child(odd) {
        border-right-color: rgba(215, 198, 158, .28);
    }


    /* CONTACT */

    

    
.offer-hero__visual,
.offer-featured__visual {
    width: 100%;
    margin-left: 0;
    border-radius: 8px;
}}

/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 1200px) {

    /* HERO */

    .offer-hero {
        padding-top: 50px;
        padding-bottom: 105px;
    }

    

    .offer-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(330px, .6fr);
        align-items: center;
        gap: 100px;
    }

    .offer-hero h1 {
        font-size: 60px;
    }

    .offer-hero__actions {
        margin-top: 34px;
    }



    /* FEATURED */

    .offer-featured {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .offer-featured__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(330px, .55fr);
        gap: 110px;
    }

    .offer-featured h2,
    .offer-section h2,
    .offer-specialist h2,
    .offer-ceremony h2,
    .offer-contact h2 {
        font-size: 46px;
    }

    /* SECTIONS */

    .offer-section,
    .offer-specialist,
    .offer-ceremony {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .offer-section__header {
        margin-bottom: 58px;
    }

    .offer-section__intro {
        font-size: 18px;
    }


    /* LISTS */

    .offer-list {
        margin-left: 120px;
    }

    .offer-item {
        min-height: 230px;
        padding: 37px 40px 40px;
    }

    .offer-item h3 {
        font-size: 23px;
    }


    /* CONTACT */

    

    

        


    /* HERO PHOTO — DESKTOP */

    .offer-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(520px, 620px);
        align-items: center;
        gap: 72px;
    }

    .offer-hero__visual {
        width: calc(
            100% + max(
                20px,
                (100vw - min(1280px, calc(100vw - 40px))) / 2
            )
        );

        margin-left: 0;
        aspect-ratio: auto;
        height: clamp(430px, 36vw, 610px);
        border-radius: 8px 0 0 8px;
    }


    /* FEATURED PHOTO — DESKTOP */

    .offer-featured__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
        gap: 80px;
    }

    .offer-featured__visual {
        width: 100%;
        margin-left: 0;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .offer-text-link span,
    .offer-item__link span {
        transition: none;
    }
}