body,
.ui.menu,
.ui.card,
.ui.header {
    font-family: 'Raleway', sans-serif;
}

.ui.menu {
    font-size: 1.08rem !important;
}

#mainContainer {
    margin-top: 0;
}

/* Loader */
.loader-segment {
    border: unset !important;
    left: -1px;
    padding: 0 !important;
    position: sticky !important;
    top: 0;
    z-index: 1100;
}

.loader-segment > .dimmer {
    background: var(--brand-blue);
    padding: 0;
    width: 100vw;
}

@keyframes loaderText {
    from { color: white; }
    to { color: var(--brand-orange); }
}

#loaderText {
    animation-duration: 2.8s;
    animation-name: loaderText;
    color: #fff;
    font-size: 16px;
    margin-top: 0.5rem !important;
}

/* Home hero */
#mainPageSlider {
    background: var(--brand-blue-dark);
    height: calc(100vh - var(--nav-desktop-offset));
    margin-top: var(--nav-desktop-offset);
    max-height: 760px;
    min-height: 560px;
    overflow: hidden;
    padding-left: 0 !important;
    position: relative;
}

#mainPageSlider::after {
    background:
        linear-gradient(90deg, rgba(12, 23, 49, 0.86) 0%, rgba(12, 23, 49, 0.64) 42%, rgba(12, 23, 49, 0.16) 78%),
        linear-gradient(0deg, rgba(12, 23, 49, 0.38), rgba(12, 23, 49, 0));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

#mainPageSlider .splide__track,
#mainPageSlider .splide__list,
#mainPageSlider .splide__slide {
    height: 100%;
}

#mainPageSlider .splide__list {
    width: 100%;
}

#mainPageSlider .splide__slide {
    min-width: 100%;
    width: 100%;
}

#mainPageSlider .splide__track img {
    display: block;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    width: 100%;
}

#mainPicStore {
    object-position: 50% 38%;
}

#mainPic1 {
    object-position: 18% 34%;
}

#mainPic2 {
    object-position: 50% 10%;
}

#mainPic3 {
    object-position: 50% 0;
}

#mainPic4 {
    object-position: 50% 50%;
}

.heroContent {
    color: #fff;
    left: max(2rem, calc((100vw - 1127px) / 2));
    max-width: 640px;
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    width: min(640px, calc(100vw - 4rem));
    z-index: 2;
}

.heroKicker,
.sectionIntro > span,
.storeCopy > span,
#aboutDescription > span,
.pageHero span,
.contactPanel article span {
    color: var(--brand-orange);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.heroContent h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.05;
    margin: 0.7rem 0 1.1rem;
    max-width: 720px;
}

.heroContent p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

.heroActions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.heroButton {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0 1.35rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.heroButton:hover {
    color: #fff;
    transform: translateY(-1px);
}

.heroButton.primary {
    background: var(--brand-orange);
    color: #fff;
}

.heroButton.primary:hover {
    background: var(--brand-orange-dark);
}

.heroButton.secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.heroButton.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.heroMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.heroMeta span {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem;
}

/* Shared sections */
.serviceSection,
.storeSection,
.aboutSection,
.contactSection {
    padding: 5rem 1rem;
}

.sectionIntro {
    margin: 0 auto 2.6rem;
    max-width: 760px;
    text-align: center;
}

.sectionIntro h2,
.storeCopy h2,
#aboutDescription h2,
.pageHero h1 {
    color: var(--brand-blue-dark);
    font-size: 2.35rem;
    font-weight: 400;
    line-height: 1.16;
    margin: 0.55rem 0 0.85rem;
}

.sectionIntro p,
.storeCopy p,
#aboutDescription p,
.pageHero p,
.contactPanel article p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

/* Service cards */
.serviceGrid {
    display: grid !important;
    gap: 1.25rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1127px;
    width: 100%;
}

.serviceCard {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(20, 38, 78, 0.06);
    min-height: 250px;
    padding: 1.7rem 1.35rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.serviceCard:hover {
    border-color: rgba(240, 124, 0, 0.45);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.cardIconDiv {
    align-items: center;
    background: rgba(240, 124, 0, 0.12);
    border-radius: 8px;
    display: inline-flex;
    height: 60px;
    justify-content: center;
    margin-bottom: 1.35rem;
    width: 60px;
}

.cardIconDiv > i {
    color: var(--brand-orange);
    cursor: initial !important;
    font-size: 1.9rem !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: 1 !important;
    transition: unset !important;
    width: auto !important;
}

.serviceCard h3 {
    color: var(--brand-blue-dark);
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.7rem;
}

.serviceCard p {
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.65;
    margin: 0;
}

/* Collection preview */
.collectionSection {
    background: var(--brand-blue-soft);
    padding: 5rem 0;
}

.collectionGrid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1127px;
    width: 100%;
}

.collectionTile {
    background: #fff;
    border: 1px solid rgba(34, 59, 113, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(20, 38, 78, 0.08);
    color: var(--ink);
    display: block;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collectionTile:hover {
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.collectionTile img {
    display: block;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.collectionTile div {
    padding: 1.2rem 1.25rem 1.35rem;
}

.collectionTile span {
    color: var(--brand-orange);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.collectionTile strong {
    color: var(--brand-blue-dark);
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Store section */
.storeSection {
    align-items: center;
    display: grid !important;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
}

.storeCopy {
    max-width: 480px;
}

.textLink {
    color: var(--brand-blue);
    display: inline-flex;
    font-weight: 700;
    margin-top: 0.75rem;
    position: relative;
}

.textLink::after {
    background: var(--brand-orange);
    bottom: -0.3rem;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

.textLink:hover {
    color: var(--brand-orange);
}

.storeImage {
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 520px;
    overflow: hidden;
}

.storeImage img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    width: 100%;
}

/* Inner pages */
.pageShell {
    background: var(--surface);
}

.pageHero {
    background: var(--brand-blue);
    color: #fff;
    margin-top: var(--nav-desktop-offset);
    padding: 4.4rem 0 3.8rem;
}

.pageHero h1 {
    color: #fff;
    max-width: 760px;
}

.pageHero p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 620px;
}

.aboutSection {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

#aboutContent {
    align-items: center;
    display: grid;
    gap: 3.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    width: 100%;
}

#aboutDescription {
    max-width: 690px;
}

#aboutDescription p {
    margin: 0 0 1.1rem;
}

#aboutPictures {
    min-width: 0;
}

#aboutSlider {
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

#aboutPic1,
#aboutPic2 {
    display: block;
    height: 610px;
    object-fit: cover;
    object-position: 50% 42%;
    width: 100%;
}

.contactSection {
    display: grid !important;
    gap: 1.5rem;
}

.contactPanel {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contactPanel article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(20, 38, 78, 0.06);
    min-height: 210px;
    padding: 1.4rem;
}

.contactPanel article > i,
.contactIconPair i {
    align-items: center;
    background: rgba(240, 124, 0, 0.12);
    border-radius: 8px;
    color: var(--brand-orange);
    display: inline-flex;
    font-size: 1.5rem;
    height: 48px;
    justify-content: center;
    margin: 0 0 1rem;
    width: 48px;
}

.contactIconPair {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.contactIconPair i {
    margin-bottom: 0;
}

.contactPanel article strong {
    color: var(--brand-blue-dark);
    display: block;
    font-size: 1.05rem;
    line-height: 1.35;
    margin-top: 0.4rem;
}

.contactPanel article a:hover {
    color: var(--brand-orange);
}

.contactPanel article p {
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
}

#mapsEmbed {
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 0;
    overflow: hidden;
}

#mapsEmbed iframe {
    border: 0;
    display: block;
    height: 460px;
    width: 100%;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .serviceGrid,
    .collectionGrid,
    .contactPanel {
        gap: 1rem;
    }

    .heroContent h1 {
        font-size: 3.1rem;
    }
}

@media only screen and (max-width: 991px) {
    #mainPageSlider {
        height: auto;
        margin-top: var(--nav-mobile-offset);
        max-height: none;
        min-height: 680px;
    }

    #mainPageSlider .splide__track,
    #mainPageSlider .splide__list,
    #mainPageSlider .splide__slide {
        height: 680px;
    }

    #mainPageSlider::after {
        background: linear-gradient(0deg, rgba(12, 23, 49, 0.92) 0%, rgba(12, 23, 49, 0.62) 58%, rgba(12, 23, 49, 0.16) 100%);
    }

    #mainPicStore {
        object-position: 50% 30%;
    }

    #mainPic1 {
        object-position: 36% 34%;
    }

    #mainPic2 {
        object-position: 50% 10%;
    }

    #mainPic3 {
        object-position: 40% 0;
    }

    #mainPic4 {
        object-position: 67% 50%;
    }

    .heroContent {
        bottom: 2rem;
        left: 1.25rem;
        top: auto;
        transform: none;
        width: calc(100vw - 2.5rem);
    }

    .heroContent h1 {
        font-size: 2.35rem;
        line-height: 1.12;
    }

    .heroContent p {
        font-size: 1.03rem;
    }

    .serviceSection,
    .storeSection,
    .aboutSection,
    .contactSection {
        padding: 3.6rem 1rem;
    }

    .serviceGrid,
    .contactPanel,
    .storeSection,
    #aboutContent {
        grid-template-columns: 1fr;
    }

    .collectionGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }

    .serviceGrid {
        max-width: 620px;
    }

    .serviceCard {
        min-height: auto;
    }

    .sectionIntro {
        margin-bottom: 2rem;
    }

    .sectionIntro h2,
    .storeCopy h2,
    #aboutDescription h2,
    .pageHero h1 {
        font-size: 1.9rem;
    }

    .collectionTile img {
        height: 230px;
    }

    .storeCopy {
        max-width: none;
    }

    .storeImage {
        height: 560px;
    }

    .pageHero {
        margin-top: var(--nav-mobile-offset);
        padding: 3.2rem 1rem 2.8rem;
    }

    #aboutContent {
        gap: 2rem;
    }

    #aboutPictures {
        order: -1;
    }

    #aboutPic1,
    #aboutPic2 {
        height: 560px;
    }

    #mapsEmbed iframe {
        height: 390px;
    }

    #footer-signature {
        display: none;
    }

    #footer-nav {
        flex-direction: column;
        align-items: center;
    }

    #footer-nav > .column {
        margin-bottom: 1.5rem;
    }

    .footer-header {
        text-align: center;
    }

    .custom-footer-divider {
        margin: 0 auto 1.5rem;
    }

    #footerNavItems,
    #footerContactItems,
    #footerAbout {
        margin-top: 1rem;
    }

    .footer-nav-item {
        text-align: center;
    }

    .footer-nav-item > ul {
        margin: 0.5rem auto;
        text-align: initial;
        width: 100px;
    }

    #footerBrands,
    #footerContact {
        width: 100% !important;
    }

    #mobileContactContainer {
        margin-top: 1rem;
    }

    #mobileContactContainer > iframe,
    #mobileContactContainer > div {
        margin: 0 auto;
        width: min(100%, 300px);
    }
}

@media only screen and (max-width: 560px) {
    #mainPageSlider,
    #mainPageSlider .splide__track,
    #mainPageSlider .splide__list,
    #mainPageSlider .splide__slide {
        min-height: 640px;
        height: 640px;
    }

    .heroContent h1 {
        font-size: 2rem;
    }

    .heroActions {
        align-items: stretch;
        flex-direction: column;
    }

    .heroButton {
        width: 100%;
    }

    .heroMeta {
        gap: 0.45rem;
    }

    .heroMeta span {
        font-size: 0.8rem;
        padding: 0.45rem 0.65rem;
    }

    .collectionGrid {
        grid-template-columns: 1fr;
    }

    .sectionIntro h2,
    .storeCopy h2,
    #aboutDescription h2,
    .pageHero h1 {
        font-size: 1.65rem;
    }

    .serviceSection,
    .storeSection,
    .aboutSection,
    .contactSection {
        padding: 3rem 0.8rem;
    }

    .storeImage,
    #aboutPic1,
    #aboutPic2 {
        height: 440px;
    }

    .contactPanel article {
        min-height: auto;
    }
}
