/* =====================================================
   APOTEK JACOEBSON
===================================================== */

.smaj-page {

    --smaj-primary: #91298d;
    --smaj-primary-dark: #721b70;
    --smaj-secondary: #c03192;

    --smaj-pink: #f3c9e5;
    --smaj-pink-light: #fff4fa;

    --smaj-text: #292329;
    --smaj-muted: #716971;
    --smaj-border: #eadfea;

    color: var(--smaj-text);
}


/* =====================================================
   CONTAINER
===================================================== */

.smaj-container {

    width: min(1180px, calc(100% - 40px));

    margin-left: auto;
    margin-right: auto;
}


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

.smaj-hero {

    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(36, 16, 39, .82),
            rgba(36, 16, 39, .48),
            rgba(36, 16, 39, .18)
        );

}


.smaj-hero-image {

    position: absolute;

    inset: 0;

    z-index: 0;
}


.smaj-hero-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.smaj-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(67, 17, 64, .82),
            rgba(67, 17, 64, .35),
            rgba(67, 17, 64, .10)
        );
}


.smaj-hero .smaj-container {

    position: relative;

    z-index: 2;
}


.smaj-hero-content {

    max-width: 760px;

    color: #fff;
}


.smaj-eyebrow {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--smaj-primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .13em;

    line-height: 1.4;

    text-transform: uppercase;
}


.smaj-hero .smaj-eyebrow {

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .92);

    color: var(--smaj-primary);

    margin-bottom: 18px;
}


.smaj-hero h1 {

    margin: 0 0 20px;

    color: #fff;

    font-size: clamp(36px, 5vw, 62px);

    line-height: 1.08;

    letter-spacing: -.025em;
}


.smaj-hero h1 strong {

    color: #f3b8e2;
}


.smaj-hero p {

    max-width: 680px;

    margin: 0;

    color: rgba(255, 255, 255, .88);

    font-size: 17px;

    line-height: 1.75;
}


/* =====================================================
   QUICK ACTION
===================================================== */

.smaj-quick-section {

    position: relative;

    z-index: 5;

    margin-top: -48px;
}


.smaj-quick-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.smaj-quick-card {

    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 96px;

    padding: 18px 20px;

    border: 1px solid rgba(145, 41, 141, .20);

    border-radius: 16px;

    background: #fff;

    box-shadow: 0 12px 30px rgba(70, 20, 68, .10);

    color: var(--smaj-text);

    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.smaj-quick-card:hover,
.smaj-quick-card:focus,
.smaj-quick-card:active {
    color: var(--smaj-text);
    text-decoration: none;

    transform: translateY(-5px);

    border-color: rgba(145, 41, 141, .40);

    box-shadow: 0 18px 38px rgba(70, 20, 68, .14);
}


.smaj-quick-icon {

    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--smaj-pink-light);

    color: var(--smaj-primary);

    font-size: 22px;

    font-weight: 700;
}


.smaj-quick-content {

    flex: 1;
}


.smaj-quick-content strong {

    display: block;

    margin-bottom: 4px;

    font-size: 15px;

    line-height: 1.3;
}


.smaj-quick-content small {

    display: block;

    color: var(--smaj-muted);

    font-size: 12px;

    line-height: 1.45;
}


.smaj-quick-arrow {

    color: var(--smaj-primary);

    font-size: 20px;

    transition: transform .3s ease;
}


.smaj-quick-card:hover .smaj-quick-arrow {

    transform: translateX(4px);
}


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

.smaj-section {

    padding: 100px 0;
}


.smaj-section-heading {

    max-width: 720px;

    margin-bottom: 48px;
}


.smaj-section-heading-center {

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.smaj-section-heading h2 {

    margin: 0 0 14px;

    color: var(--smaj-text);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -.02em;
}


.smaj-section-heading p {

    margin: 0;

    color: var(--smaj-muted);

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   ONLINE SHOP
===================================================== */

.smaj-online-shop {
    background: #fff;
}


.smaj-shop-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

    max-width: 850px;

    margin: 0 auto;
}


.smaj-shop-card {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 220px;

    padding: 30px;

    border: 1px solid var(--smaj-border);

    border-radius: 20px;

    background: #fff;

    color: var(--smaj-text);

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(143, 22, 139, .05);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.smaj-shop-card:hover,
.smaj-shop-card:focus,
.smaj-shop-card:active {

    color: var(--smaj-text);

    text-decoration: none;

    transform: translateY(-6px);

    border-color: rgba(145, 41, 141, .35);

    box-shadow: 0 16px 35px rgba(143, 22, 139, .10);
}


.smaj-shop-logo {

    width: 100px;
    height: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    padding: 14px;

    border: 1px solid var(--smaj-border);

    border-radius: 16px;

    background: #fff;
}


.smaj-shop-logo img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;
}


.smaj-shop-logo span {

    color: var(--smaj-primary);

    font-size: 14px;

    font-weight: 700;

    text-align: center;
}


.smaj-shop-card strong {

    display: block;

    color: var(--smaj-text);

    font-size: 16px;
}


.smaj-shop-arrow {

    margin-top: 8px;

    color: var(--smaj-primary);

    transition: transform .3s ease;
}


.smaj-shop-card:hover .smaj-shop-arrow,
.smaj-shop-card:focus .smaj-shop-arrow {

    color: var(--smaj-primary);

    transform: translateX(4px);
}


/* =====================================================
   ABOUT
===================================================== */

.smaj-about {

    background: var(--smaj-pink-light);
}


.smaj-about-main {

    display: grid;

    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);

    gap: 60px;

    align-items: center;

    margin-bottom: 70px;
}


.smaj-about-images {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 14px;
}


.smaj-about-image {

    overflow: hidden;

    border-radius: 20px;

    background: #fff;

    box-shadow: 0 10px 30px rgba(70, 20, 68, .08);
}


.smaj-about-image:first-child {

    grid-row: span 2;
}


.smaj-about-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}


.smaj-about-image:hover img {

    transform: scale(1.04);
}


.smaj-about-content p {

    margin: 0 0 18px;

    color: var(--smaj-muted);

    font-size: 15px;

    line-height: 1.8;
}


.smaj-about-features {

    display: grid;

    gap: 30px;
}


.smaj-feature {

    display: grid;

    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);

    gap: 40px;

    align-items: center;

    padding: 30px;

    border: 1px solid var(--smaj-border);

    border-radius: 22px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(143, 22, 139, .04);
}


.smaj-feature-reverse {

    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}


.smaj-feature-reverse .smaj-feature-image {

    order: 2;
}


.smaj-feature-image {

    overflow: hidden;

    border-radius: 16px;

    background: var(--smaj-pink-light);

}


.smaj-feature-image img {

    display: block;

    width: 100%;

    height: auto;

    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}


.smaj-feature:hover .smaj-feature-image img {

    transform: scale(1.04);
}


.smaj-feature-content h3 {

    margin: 0 0 15px;

    color: var(--smaj-text);

    font-size: 25px;

    line-height: 1.25;
}


.smaj-feature-content p {

    margin: 0;

    color: var(--smaj-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* =====================================================
   GALLERY
===================================================== */

.smaj-gallery {

    background: #fff;
}


.smaj-gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.smaj-gallery-card {

    overflow: hidden;

    border-radius: 18px;

    background: #fff;

    border: 1px solid var(--smaj-border);

    box-shadow: 0 8px 25px rgba(143, 22, 139, .05);

    line-height: 0;
}


.smaj-gallery-card img {

    display: block;

    width: 100%;

    height: auto;

    transition:
        transform .6s cubic-bezier(.22, 1, .36, 1);
}


.smaj-gallery-card:hover img {

    transform: scale(1.05);
}


/* =====================================================
   LOCATION
===================================================== */

.smaj-location {

    background: var(--smaj-pink-light);
}


.smaj-location-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.smaj-location-card {

    overflow: hidden;

    border: 1px solid var(--smaj-border);

    border-radius: 20px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(143, 22, 139, .05);
}


.smaj-location-map {

    width: 100%;

    aspect-ratio: 16 / 8;

    overflow: hidden;

    background: #eee;
}


.smaj-location-map iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;
}


.smaj-map-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    background:
        linear-gradient(
            135deg,
            #f5eef5,
            #fdf7fc
        );

    color: var(--smaj-primary);
}


.smaj-map-placeholder span {

    font-size: 28px;

    font-weight: 700;
}


.smaj-map-placeholder small {

    color: var(--smaj-muted);

    font-size: 12px;
}


.smaj-location-content {

    padding: 25px;
}


.smaj-location-content h3 {

    margin: 0 0 12px;

    font-size: 21px;

    line-height: 1.35;
}


.smaj-location-content p {

    margin: 0 0 18px;

    color: var(--smaj-muted);

    font-size: 14px;

    line-height: 1.7;
}


.smaj-location-link,
.smaj-location-link:hover,
.smaj-location-link:focus,
.smaj-location-link:active {
    color: var(--smaj-primary);
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}


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

.smaj-contact {

    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            var(--smaj-primary),
            var(--smaj-secondary)
        );
}


.smaj-contact-inner {

    max-width: 850px;

    margin: 0 auto;

    text-align: center;

    color: #fff;
}


.smaj-contact .smaj-eyebrow {

    color: #f8d8ef;
}


.smaj-contact h2 {

    margin: 0 0 15px;

    color: #fff;

    font-size: clamp(30px, 4vw, 44px);
}


.smaj-contact p {

    max-width: 650px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, .85);

    line-height: 1.7;
}


.smaj-contact-actions {

    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}


.smaj-contact-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 14px 22px;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 999px;

    background: rgba(255, 255, 255, .12);

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .3s ease,
        transform .3s ease;
}


.smaj-contact-button:hover {

    transform: translateY(-3px);

    background: rgba(255, 255, 255, .20);

    color: #fff;
}


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

@media (max-width: 991px) {

    .smaj-hero {

        min-height: 500px;

    }


    .smaj-quick-grid {

        grid-template-columns: 1fr;

    }


    .smaj-about-main {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .smaj-feature,
    .smaj-feature-reverse {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .smaj-feature-reverse .smaj-feature-image {

        order: initial;

    }


    .smaj-gallery-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .smaj-container {

        width: min(100% - 30px, 1180px);

    }


    .smaj-hero {

        min-height: 540px;

    }


    .smaj-hero h1 {

        font-size: 36px;

    }


    .smaj-hero p {

        font-size: 15px;

    }


    .smaj-quick-section {

        margin-top: -30px;

    }


    .smaj-section {

        padding: 70px 0;

    }


    .smaj-section-heading {

        margin-bottom: 35px;

    }


    .smaj-shop-grid {

        grid-template-columns: 1fr;

    }


    .smaj-about-images {

        grid-template-columns: 1fr 1fr;

    }


    .smaj-about-image:first-child {

        grid-row: span 2;

    }


    .smaj-feature {

        padding: 20px;

    }


    .smaj-feature-content h3 {

        font-size: 21px;

    }


    .smaj-gallery-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }


    .smaj-location-grid {

        grid-template-columns: 1fr;

    }


    .smaj-contact {

        padding: 65px 0;

    }


    .smaj-contact-actions {

        flex-direction: column;

    }


    .smaj-contact-button {

        justify-content: center;

    }

}