/* =========================================================
   ROOT
========================================================= */

:root {

    --bg: #f5f5f5;
    --black: #111111;
    --accent: #ff8900;

    --page-gutter: clamp(1.25rem, 4vw, 7rem);
--content-max-width: 1200px;
}



/* =========================================================
   GLOBAL CONTENT WIDTH
========================================================= */

:root {
    --bg: #f5f5f5;
    --black: #111111;
    --accent: #ff8900;

    --page-gutter: clamp(1.25rem, 4vw, 7rem);
    --content-max-width: 1200px;
}

/* GLAVNI KONTEJNERI SEKCIJA */

.about-inner,
.testimonials-inner,
.gallery-editorial-heading,
.contact-inner {
    width: 90%;
    max-width: var(--content-max-width);
    margin-inline: auto;
}

/* ELEMENTI UNUTAR KONTEJNERA */

.about-heading,
.about-editorial-layout,
.testimonials-editorial-heading,
.testimonials-grid {
    width: 100%;
    max-width: 100%;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


/* =========================================================
   GLOBAL
========================================================= */

html {

    width: 100%;

    scroll-behavior: smooth;
    overflow-x: clip;
}


body {

    width: 100%;
    min-height: 100vh;

    font-family: "Montserrat", sans-serif;

    background-color: var(--bg);
    color: var(--black);
    overflow-x: clip;
}


img {

    display: block;

    max-width: 100%;
    height: auto;

}


a {

    color: inherit;

}


button {

    font-family: inherit;

}

a:focus-visible,
button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}


.about-section,
.gallery-section,
.testimonials-section,
.contact-section {

    width: 100%;

    margin-inline: auto;

    /* padding-inline: var(--page-gutter); */

}



/* =========================================================
   CUSTOM SCROLLBAR
========================================================= */


*::-webkit-scrollbar {

    width: 8px;

}


*::-webkit-scrollbar-track {

    background: #f5f5f5;

}


*::-webkit-scrollbar-thumb {

    background: var(--accent);

}


*::-webkit-scrollbar-thumb:hover {

    background: #ff9f2f;

}



/* =========================================================
   CUSTOM CURSOR
========================================================= */


.custom-cursor {

    position: fixed;

    top: 0;
    left: 0;

    z-index: 99999;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: var(--accent);

    pointer-events: none;

    opacity: 0;

    transform: translate(-50%, -50%);

    transition:
        opacity .2s ease,
        transform .2s ease;

}


.custom-cursor.is-visible {

    opacity: 1;

}


.custom-cursor.cursor--link {

    transform:
        translate(-50%, -50%)
        scale(1.5);

}


.cursor-trail {

    position: fixed;

    z-index: 9998;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: rgba(255,137,0,.35);

    pointer-events: none;

    transform: translate(-50%, -50%);

    animation: cursorTrailFade .5s ease-out forwards;

    mix-blend-mode: multiply;

}


@keyframes cursorTrailFade {

    from {

        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1);

    }


    to {

        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(.4);

    }

}


/* =========================================================
   HERO BASE
========================================================= */

.hero {
    position: relative;
    width: 100%;
    margin: 0;
    background-color: var(--bg);
    overflow: hidden;
}

#header-component {
    position: relative;
    z-index: 100;
    width: 100%;
}

#hero-component {
    position: relative;
    display: block;
    width: 100%;
}


.hero-black-decor-group {
    position: absolute;
    inset: 0;

    transform-origin: top left;
}

.hero-orange-decor-group {
    position: absolute;
    inset: 0;

    transform-origin: top right;
}

/* =========================================================
   HEADER
========================================================= */

.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 0 64px;
    background: transparent;
    color: var(--black);
}

.hero-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.hero-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hero-logo--desktop {
    display: inline-flex;
}

.hero-logo-img {
    display: block;
    width: auto;
    height: 160px;
}

.hero-logo-img--dark {
    display: block;
}

.hero-logo-img--white {
    display: none;
}


/* =========================================================
   MOBILE ELEMENTS
   DEFAULT HIDDEN
========================================================= */

.hero-logo--mobile,
.hero-logo-img--mobile,
.mobile-menu-toggle {
    display: none;
}


/* =========================================================
   NAVIGATION
========================================================= */

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 42px;
    margin-left: auto;
}

.hero-nav a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    overflow: hidden;
    color: var(--black);
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: 700;
}

.hero-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s ease;
}

.hero-nav a::after {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .hero-nav a:hover {
        color: #ffffff;
    }

    .hero-nav a:hover::before {
        transform: scaleX(1);
    }
}


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-left: 32px;
     flex-shrink: 0;
}

.language-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid var(--black);
    border-radius: 50%;
    background-color: transparent;
    color: var(--black);
    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.language-button.is-active {
    border-color: var(--accent);
    background-color: var(--accent);
    color: #ffffff;
}

.language-button:hover {
    border-color: var(--accent);
}


/* =========================================================
   DESKTOP HERO
   LOCKED BASE CANVAS: 1600 x 900
   All hero coordinates below are fixed.
========================================================= */



    .hero {
        height: 900px;
        min-height: 900px;
    }

    #hero-component {
        height: 900px;
    }

   .hero-desktop-stage {
    

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    width: 100%;
    max-width: 1600px;

   

    margin: 0;

    background-color: var(--bg);

    overflow: hidden;
}

    /* =====================================================
       GENERAL HERO ELEMENT
    ===================================================== */

    .hero-element {
        position: absolute;
        display: block;
        pointer-events: none;
        user-select: none;
    }


    /* =====================================================
       LEFT ORANGE ELEMENT
    ===================================================== */

    .hero-small-orange {
        top: 180px;
        left: -29px;
        width: 64px;
    }


    /* =====================================================
       VERTICAL LINES
    ===================================================== */

    .hero-lines-vertical {
        top: 0;
        left: 560px;
        width: 104px;
        height: 576px;
        object-fit: fill;
    }


    /* =====================================================
       BLACK CIRCLE
    ===================================================== */

    .hero-black-circle {
        top: 123px;
        left: 485px;
        width: 144px;
    }


    /* =====================================================
       MAIN COPY
    ===================================================== */

    .hero-main-copy {
        position: absolute;
        top: 434px;
        left: 219px;
        z-index: 5;
        margin: 0;
        padding: 0;
    }

    .hero-hair-new {
        color: var(--black);
        font-size: 125px;
        font-weight: 800;
        line-height: 0.78;
        letter-spacing: 0;
    }

    .hero-beauty-group {
        margin-top: 16px;
        margin-left: 38%;
    }

    .hero-beauty-new {
        color: var(--black);
        font-size: 48px;
        font-weight: 700;
        line-height: 0.9;
    }

    .hero-divine-new {
        margin-top: 6px;
        color: var(--black);
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.07em;
        padding-left: 1.5%;
    }


    /* =====================================================
       BRAND MESSAGE
    ===================================================== */

    .hero-brand-message {
        position: absolute;
        left: 221px;
        bottom: 61px;
        z-index: 10;
        width: 370px;
        max-width: 370px;
    }

    .hero-brand-message p {
        margin: 0 0 24px;
        color: var(--black);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.35;
    }

    .hero-brand-message strong {
        color: var(--accent);
        font-weight: 700;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .hero-book-button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 140px;
        padding: 15px 20px;
        border: 0;
        background: var(--black);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.02em;
        text-decoration: none;
        text-transform: uppercase;
        transition:
            background-color 0.3s ease,
            color 0.3s ease;
    }

    .hero-book-button,
.hero-mobile-book-button {
  display: flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
  text-align: center;

  box-sizing: border-box;
}


    /* =====================================================
       HORIZONTAL LINES
    ===================================================== */

    .hero-lines-horizontal {
        top: 164px;
        right: -16px;
        width: 608px;
    }


    /* =====================================================
       ORANGE CIRCLE
    ===================================================== */

    .hero-orange-circle {
        top: 133px;
        right: 165px;
        width: 264px;
    }


    /* =====================================================
       GIRL
    ===================================================== */

    .hero-girl-wrapper {
        position: absolute;
        top: 239px;
        right: 315px;
        z-index: 4;
        width: 451px;
        aspect-ratio: 324 / 489;
        overflow: hidden;
    }

    .hero-girl {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: grayscale(1);
    }


    /* =====================================================
       DIO
    ===================================================== */

    .hero-dio-image {
        top: 559px;
        right: 170px;
        z-index: 8;
        width: 296px;
    }


    /* =====================================================
       SOCIAL RAIL
    ===================================================== */

    .hero-social-rail {
        position: absolute;
        top: 396px;
        left: 0;
        z-index: 20;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

/* =========================================================
   SOCIAL LINKS
========================================================= */

.hero-social-rail a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--black);
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.hero-social-rail img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}



@media (hover: hover) and (pointer: fine) {
    .hero-social-rail a:hover {
        background-color: var(--accent);
        transform: translateX(4px);
    }
}

/* =========================================================
   HERO ART GROUPS
   Grupe postoje, ali početno zauzimaju ceo hero canvas.
   Tako sve postojeće koordinate ostaju identične.
========================================================= */

.hero-left-art,
.hero-right-art {
    position: absolute;

    top: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

/* =========================================================
   SEO ONLY
========================================================= */

.seo-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================

   GALLERY

   ========================= */

.gallery-section {
  padding-top: 7rem;



  background-color: var(--bg);
}
/* =========================================================
   MOBILE ONLY ELEMENTS
========================================================= */

/* =========================================================
   MOBILE ONLY ELEMENTS
========================================================= */

.hero-mobile-brand-message,
.hero-mobile-phone-button,
.hero-mobile-white-logo,
.mobile-floating-call,
.hero-mobile-instagram,
.hero-mobile-lines,
.hero-mobile-book-button {
    display: none;
}
/* =========================
   ABOUT
   ========================= */

.about-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
 
  background-color: var(--bg);
}





/* =========================================================
   BEAUTY DIVINE — SERVICES COMPONENT (DESKTOP)
   Paste at the end of css/style.css
========================================================= */

.services-wrapper {
    --services-orange: #ff7900;
    --services-black: #080808;
    --services-white: #fff;
    --services-bg: #f4f4f4;
    --services-grey: #d9d9d9;
    position: relative;
    width: 100%;
    background: var(--services-bg);
    color: var(--services-black);
    font-family: "Montserrat", sans-serif;
    overflow-x: clip;
}

.services-wrapper,
.services-wrapper * { box-sizing: border-box; }


.services-wrapper .services-container {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
}


/* 01 — INTRO */
.services-wrapper .services-intro { position: relative; padding: 110px 0 55px; }
.services-wrapper .services-intro-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 58px;
}
.services-wrapper .services-intro-art { flex: 0 0 140px; width: 140px; }
.services-wrapper .services-intro-art img {
    display: block; width: 100%; height: auto; object-fit: contain;
}
.services-wrapper .services-intro-content { max-width: 560px; }
.services-wrapper .services-eyebrow {
    display: block; margin-bottom: 10px;
      margin: 0 0 1.4rem;
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.services-wrapper .services-main-title {
    margin: 0 0 18px;
    font-size: clamp(48px, 5.2vw, 78px);
    font-weight: 800; line-height: 1;
    letter-spacing: -0.045em;
    color: var(--services-black);
}
.services-wrapper .services-intro-description {
    max-width: 520px; margin: 0;
    font-size: 0.8rem; font-weight: 400; line-height: 1.65;
    color: var(--services-black);
}

/* 02 — PACKAGES */
.services-wrapper .services-packages { position: relative; padding: 0 0 95px; }
.services-wrapper .services-packages-stage {
    position: relative;
    isolation: isolate;
    display: flex; flex-direction: column;
    gap: 30px;
    width: 100%; padding: 45px 0;
}
.services-wrapper .services-packages-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0; bottom: 0; left: 0; width: 45%;
    background: var(--services-orange);
}
.services-wrapper .services-package {
    display: grid;
    grid-template-columns: 34% minmax(0, 66%);
    align-items: stretch;
    width: 100%; min-height: 142px;
}
.services-wrapper .services-package-name {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-width: 0; padding: 20px 15px;
}
.services-wrapper .services-package-name h3 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 35px);
    font-weight: 800; line-height: 1.08;
    letter-spacing: -0.035em; color: #fff;
}
.services-wrapper .services-package-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 125px;
    width: 100%; min-height: 142px;
    background: var(--services-white);
}
.services-wrapper .services-package-details {
    display: flex; flex-direction: column;
    justify-content: space-between;
    min-width: 0; gap: 24px; padding: 29px 30px 23px;
}
.services-wrapper .services-package-description {
    margin: 0; font-size: 0.8rem; font-weight: 500;
    line-height: 1.6; color: var(--services-black);
}
.services-wrapper .services-package-prices {
    display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.services-wrapper .services-package-old-price {
    font-size: 12px; font-weight: 400; line-height: 1.3;
    color: #686868; text-decoration: line-through;
}
.services-wrapper .services-package-price {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.035em; white-space: nowrap;
    color: var(--services-black);
}
.services-wrapper .services-package-saving {
    display: flex; align-items: flex-end; justify-content: center;
    min-width: 0; padding: 18px 8px;
    background: var(--services-black);
}
.services-wrapper .services-package-saving span {
    display: block; font-size: 11px; font-weight: 700;
    line-height: 1.5; text-align: center; color: #fff;
}

/* 03 — INDIVIDUAL PRICE LIST */
.services-wrapper .services-pricelist { position: relative; padding: 0 0 110px; }
.services-wrapper .services-pricelist-stage {
    position: relative; isolation: isolate; padding: 60px 0 65px;
}
.services-wrapper .services-pricelist-stage::before {
    content: ""; position: absolute; z-index: -1;
    top: 0; bottom: 0; left: 8%; right: 8%;
    background: var(--services-grey);
}
.services-wrapper .services-pricelist-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 38px; row-gap: 55px; width: 100%;
}
.services-wrapper .services-category {
    display: grid; grid-template-columns: 48% minmax(0, 1fr);
    width: 100%; min-width: 0; min-height: 280px;
    background: #fff;
}
.services-wrapper .services-category-image {
    position: relative; min-width: 0; min-height: 280px;
    overflow: hidden; background: #cecece;
}
.services-wrapper .services-category-image img {
    display: block; width: 100%; height: 100%;
    position: absolute; inset: 0;
    object-fit: cover; object-position: center;
    filter: grayscale(100%);
}
.services-wrapper .services-category-content {
    display: flex; flex-direction: column; min-width: 0;
    padding: 23px 20px 22px;
}
.services-wrapper .services-category-title {
    margin: 0 0 32px; font-size: 0.8rem;
    font-weight: 700; line-height: 1.4;
    text-align: right; color: var(--services-black);
}
.services-wrapper .services-price-list {
    display: flex; flex-direction: column; gap: 14px;
    margin: auto 0 0; padding: 0; list-style: none;
}
.services-wrapper .services-price-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline; column-gap: 10px;
    min-width: 0; font-size: 13px;
    font-weight: 500; line-height: 1.5;
}
.services-wrapper .services-price-list li span:first-child {
    min-width: 0; overflow-wrap: break-word;
}
.services-wrapper .services-price-list li span:last-child {
    white-space: nowrap; font-weight: 600;
    font-variant-numeric: tabular-nums; text-align: right;
}


/* =========================================================
   PACKAGE HOVER
========================================================= */

@media (hover: hover) {

    .services-package-panel {
        transition: transform 0.35s ease;
    }

    .services-package:hover .services-package-panel {
        transform: translateX(5px);
    }

}


/* =========================================================
   HOVER EFFECTS
========================================================= */

@media (hover: hover) {

    .services-category-image img {
        transition:
            transform 0.7s ease,
            filter 0.7s ease;
    }

    .services-category:hover .services-category-image img {
        transform: scale(1.055);
    }

    .services-package-panel {
        transition: transform 0.35s ease;
    }

    .services-package:hover .services-package-panel {
        transform: translateX(5px);
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .services-category-image img,
    .services-package-panel {
        transition: none !important;
    }

}


/* =========================
   ABOUT HEADING
   ========================= */

.about-heading {
  display: grid;

  grid-template-columns: 280px minmax(0, 1fr);

  align-items: start;

  margin-bottom: 6rem;
  
}

.about-heading-art {
  width: 180px;
}

.about-heading-art img {
  display: block;

  width: 100%;
  height: auto;
}

.about-heading-copy {
  max-width: 900px;
}

.about-eyebrow {
  margin: 0 0 1.4rem;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.about-title {
  margin: 0 0 1.5rem;
  padding: 0;

  font-size: clamp(5rem, 5vw, 5rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.about-intro {
  max-width: 500px;

  margin: 0;

  font-size: 0.8rem;
  line-height: 1.7;
}


/* =========================
   ABOUT MAIN LAYOUT
   ========================= */

.about-editorial-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  gap: 1rem;

  align-items: stretch;
}


/* =========================
   PHOTO
   ========================= */

.about-photo {
  position: relative;

  min-height: 400px;
max-height: 800px;
  margin: 0;

  overflow: hidden;

  background-color: var(--black);
}

.about-photo > img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 800px;

  object-fit: cover;
  object-position: center;

  filter: grayscale(10%);

  transition:
    transform 0.7s ease,
    filter 0.5s ease;
}

.about-photo::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55),
      transparent 40%
    );

  pointer-events: none;
}


/* =========================
   PHOTO NUMBER
   ========================= */

/* .about-photo-number {
  position: absolute;

  top: 1.5rem;
  left: 1.5rem;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  border-radius: 50%;

  background-color: var(--accent);
  color: #ffffff;

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
} */


/* =========================
   PHOTO CAPTION
   ========================= */

.about-photo-caption {
  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 1.5rem;

  padding: 1.4rem 1.6rem;

  color: #ffffff;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.about-photo-caption span:last-child {
  color: var(--accent);
}


/* =========================
   PHOTO HOVER
   ========================= */

@media (hover: hover) and (pointer: fine) {

  .about-photo:hover > img {
    transform: scale(1.025);
    filter: grayscale(0%);
  }

}


/* =========================
   WHITE ABOUT CARD
   ========================= */



/* =========================
   CARD ACCENT
   ========================= */

.about-card-accent {
  position: absolute;

  top: -2px;
  left: -2px;

  width: 16px;
  height: calc(100% + 4px);
}


/* =========================
   ABOUT TEXT
   ========================= */



.about-text p {
  font-size: 0.94rem;
  line-height: 1.7;
}

.about-text p + p {
  margin-top: 1.25rem;
}

.about-text .about-lead {
  margin-bottom: 2rem;

  font-size: clamp(1.05rem, 1.3vw, 1.05rem);
  line-height: 1.45;
  font-weight: 600;
}

.about-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 600px;

  padding: 4rem 4rem 2.5rem;

  background-color: #ffffff;
  color: var(--black);
}

.about-text {
  width: 100%;
  max-width: 590px;

  margin: auto auto 0;
}

.about-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;

  width: 100%;

  margin-top: auto;
 
}

.about-signature {
  display: block;

  width: 145px;
  height: auto;

  flex-shrink: 0;
}

/* =========================

   GALLERY HEADING

   ========================= */

.gallery-editorial-heading {
  
  padding: 0;

  display: grid;

  grid-template-columns: 280px minmax(0, 1fr);

  align-items: start;
}

.gallery-editorial-art {
  width: 180px;
}

.gallery-editorial-art img {
  display: block;

  width: 100%;

  height: auto;
}

.gallery-editorial-copy {
  width: 100%;

  max-width: 900px;
}

.gallery-editorial-eyebrow {
  margin: 0 0 1.4rem;

  color: var(--black);

  font-size: 0.78rem;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.gallery-editorial-title {
  margin: 0 0 1.5rem;

  color: var(--black);

  font-size: clamp(5rem, 5vw, 5rem);

  line-height: 0.9;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.gallery-editorial-intro {
  max-width: 500px;

  margin: 0;

  color: var(--black);

  font-size: 0.8rem;

  font-weight: 400;

  line-height: 1.7;
}

/* =========================

   GALLERY CAROUSEL

   ========================= */

.gallery-carousel {
  width: 100%;

  margin-top: 4rem;

  margin-bottom: 4rem;

  overflow: hidden;

  background-color: var(--black);
}

/* =========================

   EMBLA VIEWPORT

   ========================= */

.gallery-viewport {
  width: 100%;

  overflow: hidden;

  cursor: grab;
}

.gallery-viewport:active {
  cursor: grabbing;
}

/* =========================

   EMBLA TRACK

   ========================= */

.gallery-track {
  display: flex;

  touch-action: pan-y pinch-zoom;

  will-change: transform;
}

.gallery-slide {
  flex: 0 0 calc((100% - 4rem) / 3);

  min-width: 0;

  height: 620px;

  margin-right: 2rem;

  overflow: hidden;
}

/* =========================

   IMAGE

   ========================= */

.gallery-slide img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  user-select: none;

  pointer-events: none;

  transform: scale(1);

  transition: transform 0.5s ease;
}

/* =========================

   HOVER

   ========================= */

@media (hover: hover) and (pointer: fine) {
  .gallery-slide:hover img {
    transform: scale(1.025);
  }
}

/* =========================

   TESTIMONIALS

   ========================= */

.testimonials-section {
  padding-top: 7rem;

  padding-bottom: 7rem;

  background-color: var(--bg);
}


.testimonials-editorial-heading {
  width: 100%;

  margin: 0 0 6rem;

  padding: 0;

  display: grid;

  grid-template-columns: 280px minmax(0, 1fr);

  align-items: start;
}

.testimonials-editorial-art {
  width: 200px;
}

.testimonials-editorial-art img {
  display: block;

  width: 100%;

  height: auto;
}

.testimonials-editorial-copy {
  width: 100%;

  max-width: 900px;
}

.testimonials-editorial-eyebrow {
  margin: 0 0 1.4rem;

  color: var(--black);

  font-size: 0.78rem;

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.testimonials-editorial-title {
  margin: 0 0 1.5rem;

  color: var(--black);

  font-size: clamp(5rem, 5vw, 5rem);

  line-height: 0.9;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.testimonials-editorial-intro {
  max-width: 500px;

  margin: 0;

  color: var(--black);

  font-size: 0.8rem;

  font-weight: 400;

  line-height: 1.7;
}

.testimonials-grid {
  display: grid;

  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);

  grid-template-rows: repeat(2, minmax(180px, auto));

  gap: 1rem;
}

.testimonial-card {
  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-width: 0;

  margin: 0;

  padding: 2.8rem 3rem;

  overflow: hidden;
}

.testimonial-card--featured {
  grid-column: 1;

  grid-row: 1 / 3;

  min-height: 380px;

  background-color: #c8c4b7;

  color: #ffffff;
}

.testimonial-card--light {
  grid-column: 2;

  grid-row: 1;

  border: 2px solid var(--black);

  background-color: #ffffff;

  color: var(--black);
}

.testimonial-card--dark {
  grid-column: 2;

  grid-row: 2;

  background-color: var(--black);

  color: #ffffff;
}

.testimonial-card::before {
  content: "“";

  position: absolute;

  top: -1.5rem;

  right: 1.5rem;

  font-family: Georgia, serif;

  font-size: clamp(8rem, 13vw, 14rem);

  line-height: 1;

  opacity: 0.1;

  pointer-events: none;
}

.testimonial-card--featured::before,
.testimonial-card--dark::before {
  color: #ffffff;
}

.testimonial-card--light::before {
  color: var(--black);
}

.testimonial-number {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 42px;

  height: 42px;

  margin-bottom: 2.5rem;

  border-radius: 50%;

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 0.08em;
}

.testimonial-card--featured .testimonial-number {
  border: 2px solid #ffffff;

  color: #ffffff;
}

.testimonial-card--light .testimonial-number {
  background-color: var(--accent);

  color: #ffffff;
}

.testimonial-card--dark .testimonial-number {
  border: 2px solid var(--accent);

  color: var(--accent);
}

.testimonial-quote {
  position: relative;

  z-index: 2;

  margin: 0;
}

.testimonial-quote p {
  margin: 0;

  font-size: clamp(0.8rem, 1.35vw, 1.35rem);

  line-height: 1.5;

  font-weight: 500;
}

.testimonial-card--featured .testimonial-quote p {
  max-width: 680px;

 font-size: clamp(1.5rem, 1.4vw, 1.1rem);

  line-height: 1.4;
}

.testimonial-client {
  position: relative;

  z-index: 2;

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 1.5rem;

  margin-top: 2.5rem;

  padding-top: 1.2rem;

  border-top: 2px solid currentColor;
}

.testimonial-client-name {
  font-size: 0.82rem;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.testimonial-client-service {
  max-width: 180px;

  font-size: 0.62rem;

  font-weight: 600;

  line-height: 1.5;

  letter-spacing: 0.1em;

  text-align: right;

  text-transform: uppercase;
}

.testimonial-card--dark .testimonial-client-service {
  color: var(--accent);
}

/* =========================
   CONTACT / FOOTER
   ========================= */

.contact-section {
  padding-top: 8rem;
  padding-bottom: 3rem;

  background-color: black;
}



/* =========================
   CONTACT LAYOUT
   ========================= */

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 1.55fr)
    minmax(180px, 0.42fr);

  gap: 1rem;

  align-items: stretch;
}

/* =========================
   OSNOVNI BLOK
   ========================= */

.contact-block {
  position: relative;

  display: flex;
  align-items: stretch;

  min-width: 0;
  min-height: 620px;
}

.contact-block-inner {
  width: 100%;

  display: flex;
  flex-direction: column;
}

/* =========================
   LEVI CRNI BLOK
   ========================= */

.contact-block--black {
  background-color: #111111;
  color: #ffffff;
}

.contact-block-inner--black {
  justify-content: center;

  gap: 2.6rem;

  padding: 4rem 3.5rem;
}

/* svaki kontakt red */

.contact-info-item {
  display: grid;

  grid-template-columns: 78px minmax(0, 1fr);

  align-items: center;

  gap: 2.5rem;
}

/* krug ikonice */

.contact-info-icon {
  width: 78px;
  height: 78px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  background-color: var(--accent);

  text-decoration: none;

  flex-shrink: 0;
}

/* ikonica */

.contact-info-icon img {
  display: block;

  width: 34px;
  height: 34px;

  object-fit: contain;
}

/* kontakt tekst */

.contact-info-link {
  margin: 0;

  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;

  text-decoration: none;

  transition: color 0.25s ease;
}

/* hover samo menja boju */

@media (hover: hover) and (pointer: fine) {
  .contact-info-item:hover .contact-info-link {
    color: var(--accent);
  }
}

/* =========================
   SREDNJI EDITORIAL BLOK
   ========================= */

.contact-block--editorial {
  background-color: #111111;
  color: #ffffff;
}

.contact-block-inner--editorial {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  grid-template-rows:
    auto
    1fr;

  column-gap: 3rem;
  row-gap: 3rem;

  padding: 3rem 2.2rem 2.5rem;
}

/* naslov */

.contact-brand-top {
  grid-column: 1;
  grid-row: 1;
}

.contact-brand-name {
  margin: 0 0 6rem;

  color: #ffffff;

  font-size: clamp(2rem, 2vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.contact-brand-byline {
  margin: 0;

  color: #ffffff;

  font-size: 0.95rem;
  font-weight: 400;
}

/* copyright */

.contact-copy {
  grid-column: 2;
  grid-row: 1;

  align-self: end;

  margin: 0;

  color: #ffffff;

  font-size: 0.9rem;
  line-height: 1.4;

  white-space: nowrap;
}

/* =========================
   EDITORIAL ART
   ========================= */

.contact-art-grid {
  grid-column: 1 / 3;
  grid-row: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);

  grid-template-rows:
    1fr
    1fr;

  gap: 1rem 1.6rem;

  align-items: end;

  margin-top: auto;
}

.contact-art {
  display: block;

  width: 100%;
  height: auto;

  filter: brightness(0) invert(1);
}

.contact-art--01 {
  grid-column: 1;
  grid-row: 1;

  width: 72%;
  max-width: 300px;

  justify-self: start;
  align-self: end;
}

.contact-art--02 {
  grid-column: 2;
  grid-row: 1;

  width: 48%;
  max-width: 180px;

  justify-self: start;
  align-self: end;
}

.contact-art--03 {
  grid-column: 1;
  grid-row: 2;

  width: 68%;
  max-width: 280px;

  justify-self: start;
  align-self: end;
}

.contact-art--04 {
  grid-column: 2;
  grid-row: 2;

  width: 70%;
  max-width: 280px;

  justify-self: start;
  align-self: end;
}

/* =========================
   DESNI BLOK / LADY
   ========================= */

.contact-block--lady {
  background-color: #f5f5f5;
}

.contact-block-inner--lady {
  width: 100%;

  display: flex;

  align-items: flex-end;
  justify-content: center;


  background-color: var(--bg);

  overflow: hidden;
}

.contact-lady-figure {
  display: block;

  width: auto;
  height: 92%;

  max-width: 100%;
  max-height: 580px;

  object-fit: contain;
  object-position: center bottom;
}

/* IM CREDIT */

.contact-imstudio-credit {
  align-self: flex-end;

  display: block;
  margin-bottom: 3rem;

  color: var(--bg);

  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;

  text-align: right;
  text-decoration: none;

  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-imstudio-credit:hover {
    color: var(--accent);
  }
}

/* =========================
   MOBILE TEXT
   trenutno skriven
   ========================= */

.contact-imstudio-text--mobile {
  display: none;
}


/* =========================================================
   PAGE LOADER
   ========================================================= */

.page-loader {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #e9e6e1;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;

  pointer-events: none;
}


/* =========================================================
   SYMBOLS
   ========================================================= */

.loader-symbols {
  position: relative;

  width: 140px;
  height: 70px;
}

.loader-symbol {
  position: absolute;

  top: 50%;

  width: 44px;
  height: 44px;

  object-fit: contain;

  transform: translateY(-50%);

  transform-origin: center;

  will-change: left, transform;
}


/* =========================================================
   ANIMATION CONNECTION
   OVO TI JE NEDOSTAJALO
   ========================================================= */

.loader-symbol--1 {
  animation: swap1 2.4s ease-in-out infinite;
}

.loader-symbol--2 {
  animation: swap2 2.4s ease-in-out infinite;
}

.loader-symbol--3 {
  animation: swap3 2.4s ease-in-out infinite;
}


/* =========================================================
   SYMBOL 1
   1 → 2 → 3
   ========================================================= */

@keyframes swap1 {

  0% {
    left: 0;
    transform: translateY(-50%) scale(1);
  }

  30% {
    left: 48px;
    transform: translateY(-50%) scale(1.05);
  }

  60% {
    left: 96px;
    transform: translateY(-50%) scale(1);
  }

  100% {
    left: 0;
    transform: translateY(-50%) scale(1);
  }

}


/* =========================================================
   SYMBOL 2
   2 → 3 → 1
   ========================================================= */

@keyframes swap2 {

  0% {
    left: 48px;
    transform: translateY(-50%) scale(1);
  }

  30% {
    left: 96px;
    transform: translateY(-50%) scale(1.05);
  }

  60% {
    left: 0;
    transform: translateY(-50%) scale(1);
  }

  100% {
    left: 48px;
    transform: translateY(-50%) scale(1);
  }

}


/* =========================================================
   SYMBOL 3
   3 → 1 → 2
   ========================================================= */

@keyframes swap3 {

  0% {
    left: 96px;
    transform: translateY(-50%) scale(1);
  }

  30% {
    left: 0;
    transform: translateY(-50%) scale(1.05);
  }

  60% {
    left: 48px;
    transform: translateY(-50%) scale(1);
  }

  100% {
    left: 96px;
    transform: translateY(-50%) scale(1);
  }

}
