/* =========================
   O NAMA — FINALNA VERZIJA
========================= */

.about-page {
    --about-bg: #ffffff;
    --about-soft: #f5f0eb;
    --about-heading: #302119;
    --about-text: #6f625a;
    --about-text-strong: #493a32;
    --about-accent: #8a5837;
    --about-accent-dark: #50301f;
    --about-line: #ded3ca;

    background-color: var(--about-bg);
}


/* =========================
   ZAJEDNIČKI ELEMENTI
========================= */

.about-section-label,
.about-hero-label {
    margin: 0 0 13px;

    color: var(--about-accent);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


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

.about-hero {
    overflow: hidden;

    padding: 82px 0;

    background-color: var(--about-soft);
}

.about-hero-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 68px;
}

.about-hero-content {
    max-width: 600px;
}

.about-hero-content h1 {
    margin: 0 0 23px;

    color: var(--about-heading);

    font-size: clamp(42px, 4.8vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.about-hero-description {
    max-width: 555px;
    margin: 0;

    color: var(--about-text);

    font-size: 17px;
    line-height: 1.78;
}

.about-hero-image {
    position: relative;

    min-height: 500px;
}

.about-hero-image::before {
    content: "";

    position: absolute;
    top: 14px;
    right: -12px;
    bottom: -12px;
    left: 22px;

    border-radius: 18px;

    background-color: #7a5136;
}

.about-hero-image img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 500px;

    border-radius: 18px;

    object-fit: cover;

    box-shadow: 0 18px 42px rgb(65 40 25 / 12%);
}


/* =========================
   NAŠA PRIČA
========================= */

.about-story {
    padding: 88px 0;

    background-color: var(--about-bg);
}

.about-story-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 78px;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    display: block;

    width: 100%;
    height: 555px;

    border-radius: 18px;

    object-fit: cover;

    box-shadow: 0 18px 46px rgb(52 33 23 / 11%);
}

.about-story-badge {
    position: absolute;
    right: -10px;
    bottom: 24px;

    display: flex;
    flex-direction: column;

    min-width: 138px;
    padding: 17px 20px;

    border-radius: 12px;

    background-color: var(--about-accent-dark);
    color: #ffffff;

    box-shadow: 0 10px 24px rgb(55 32 20 / 15%);
}

.about-story-badge strong {
    font-size: 32px;
    line-height: 1;
}

.about-story-badge span {
    margin-top: 6px;

    color: rgb(255 255 255 / 78%);

    font-size: 13px;
}

.about-story-content {
    max-width: 590px;
}

.about-story-content h2 {
    margin: 0 0 24px;

    color: var(--about-heading);

    font-size: clamp(34px, 3.6vw, 49px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.about-story-content p:not(.about-section-label) {
    margin: 0 0 16px;

    color: var(--about-text);

    font-size: 17px;
    line-height: 1.78;
}

.about-story-content p:last-child {
    margin-bottom: 0;
}


/* =========================
   NAŠE VREDNOSTI
========================= */

.about-values {
    padding: 88px 0;

    background-color: var(--about-soft);
}

.about-values-container {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: center;
    gap: 76px;
}

.about-values-intro {
    max-width: 515px;
}

.about-values-intro h2 {
    margin: 0 0 22px;

    color: var(--about-heading);

    font-size: clamp(34px, 3.6vw, 49px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.about-values-intro > p:last-child {
    margin: 0;

    color: var(--about-text);

    font-size: 17px;
    line-height: 1.78;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 46px;

    border-top: 1px solid var(--about-line);
}

.about-value {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;

    padding: 27px 0 29px;

    border-bottom: 1px solid var(--about-line);
}

.about-value-number {
    display: block;

    padding-top: 2px;

    color: var(--about-accent);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.about-value h3 {
    margin: 0 0 8px;

    color: #35241b;

    font-size: 21px;
    line-height: 1.3;
}

.about-value p {
    max-width: 310px;
    margin: 0;

    color: #74675f;

    font-size: 15px;
    line-height: 1.68;
}


/* =========================
   KAKO RADIMO
========================= */

.about-process {
    padding: 90px 0;

    background-color: var(--about-bg);
}

.about-process-heading {
    max-width: 760px;

    margin: 0 auto 48px;

    text-align: center;
}

.about-process-heading h2 {
    margin: 0 0 18px;

    color: var(--about-heading);

    font-size: clamp(34px, 3.7vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.about-process-heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;

    color: var(--about-text);

    font-size: 17px;
    line-height: 1.72;
}

.about-process-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.about-process-grid::before {
    content: "";

    position: absolute;
    top: 68px;
    right: 10%;
    left: 10%;

    height: 1px;

    background-color: #d9c9bc;
}

.about-process-step {
    position: relative;
    z-index: 1;

    text-align: center;
}

.about-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 16px;

    border-radius: 50%;

    background-color: var(--about-accent-dark);
    color: #ffffff;

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

.about-process-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin: 0 auto 21px;

    border: 1px solid #ded1c7;
    border-radius: 50%;

    background-color: #f7f2ee;
    color: #7a4a30;

    font-size: 21px;
}

.about-process-step h3 {
    margin: 0 0 11px;

    color: #35241b;

    font-size: 20px;
    line-height: 1.3;
}

.about-process-step p {
    max-width: 320px;
    margin: 0 auto;

    color: #74675f;

    font-size: 15px;
    line-height: 1.68;
}


/* =========================
   KVALITET U DETALJIMA
========================= */

.about-details {
    overflow: hidden;

    padding: 90px 0;

    border-top: 1px solid #eee6df;

    background-color: var(--about-bg);
}

.about-details-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.about-details-content {
    max-width: 585px;
}

.about-details-content h2 {
    margin: 0 0 23px;

    color: var(--about-heading);

    font-size: clamp(34px, 3.7vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.about-details-description {
    margin: 0 0 15px;

    color: var(--about-text);

    font-size: 17px;
    line-height: 1.76;
}

.about-details-points {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-top: 28px;
}

.about-details-point {
    display: flex;
    align-items: center;
    gap: 13px;
}

.about-details-point span {
    flex: 0 0 auto;

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

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background-color: var(--about-accent-dark);
    color: #ffffff;

    font-size: 11px;
}

.about-details-point p {
    margin: 0;

    color: var(--about-text-strong);

    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.about-details-images {
    position: relative;

    min-height: 535px;
}

.about-details-image {
    overflow: hidden;

    border-radius: 18px;

    background-color: #ded4cb;

    box-shadow: 0 16px 42px rgb(65 40 25 / 12%);
}

.about-details-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-details-image-main {
    position: absolute;
    top: 0;
    right: 0;

    width: 80%;
    height: 455px;
}

.about-details-image-small {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;

    width: 42%;
    height: 235px;

    border: 7px solid #ffffff;
}


/* =========================
   KONTAKT — DISKRETNIJE
========================= */

.about-page .contact-section {
    border-top: 1px solid #eadfd6;
}

.about-page .contact-info-card {
    border: 1px solid #eadfd6;

    box-shadow: 0 12px 34px rgb(65 40 25 / 7%);
}


/* =========================
   FOOTER — ISTI SADRŽAJ,
   SAMO OPIS ISPOD LOGOTIPA
========================= */

.footer-brand-description {
    max-width: 285px;
    margin: 22px 0 0;

    color: rgb(255 255 255 / 66%);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================
   MANJI DESKTOP / TABLET
========================= */

@media (max-width: 1100px) {

    .about-hero-container,
    .about-story-container,
    .about-details-container {
        gap: 58px;
    }

    .about-values-container {
        gap: 58px;
    }

}

@media (max-width: 950px) {

    .about-hero,
    .about-story,
    .about-values,
    .about-process,
    .about-details {
        padding: 74px 0;
    }

    .about-hero-container,
    .about-story-container,
    .about-values-container,
    .about-details-container {
        grid-template-columns: 1fr;
    }

    .about-hero-container {
        gap: 42px;
    }

    .about-story-container,
    .about-details-container {
        gap: 48px;
    }

    .about-values-container {
        gap: 42px;
    }

    .about-hero-content,
    .about-story-content,
    .about-values-intro,
    .about-details-content {
        max-width: 760px;
    }

    .about-hero-image {
        min-height: 445px;
    }

    .about-hero-image img {
        height: 445px;
    }

    .about-story-image img {
        height: 485px;
    }

    .about-story-badge {
        right: 22px;
        bottom: 22px;
    }

    .about-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 34px;
    }

    .about-process-grid::before {
        display: none;
    }

    .about-details-images {
        min-height: 500px;
    }

    .about-details-image-main {
        width: 82%;
        height: 430px;
    }

    .about-details-image-small {
        width: 40%;
        height: 220px;
    }

    .footer-brand-description {
        max-width: 330px;
    }

}


/* =========================
   TELEFON
========================= */

@media (max-width: 650px) {

    .about-hero,
    .about-story,
    .about-values,
    .about-process,
    .about-details {
        padding: 58px 0;
    }

    .about-hero-container,
    .about-story-container,
    .about-values-container,
    .about-details-container {
        gap: 34px;
    }

    .about-hero-content h1 {
        margin-bottom: 18px;

        font-size: clamp(36px, 11vw, 46px);
    }

    .about-story-content h2,
    .about-values-intro h2,
    .about-process-heading h2,
    .about-details-content h2 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .about-hero-description,
    .about-story-content p:not(.about-section-label),
    .about-values-intro > p:last-child,
    .about-process-heading > p:last-child,
    .about-details-description {
        font-size: 16px;
        line-height: 1.72;
    }

    .about-hero-image {
        min-height: 320px;
    }

    .about-hero-image::before {
        top: 10px;
        right: -8px;
        bottom: -9px;
        left: 16px;

        border-radius: 12px;
    }

    .about-hero-image img {
        height: 320px;

        border-radius: 14px;
    }

    .about-story-image img {
        height: 360px;

        border-radius: 14px;
    }

    .about-story-badge {
        right: 12px;
        bottom: 12px;

        min-width: 124px;
        padding: 14px 16px;
    }

    .about-story-badge strong {
        font-size: 28px;
    }

    .about-story-badge span {
        font-size: 12px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-value {
        grid-template-columns: 44px 1fr;
        padding: 22px 0 24px;
    }

    .about-value p {
        max-width: none;
    }

    .about-process-heading {
        margin-bottom: 34px;

        text-align: left;
    }

    .about-process-heading > p:last-child {
        margin: 0;
    }

    .about-process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-process-step {
        display: grid;
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto auto;
        gap: 0 16px;

        text-align: left;
    }

    .about-process-number {
        grid-column: 2;
        grid-row: 1;

        justify-content: flex-start;

        width: auto;
        height: auto;
        margin: 0 0 4px;

        border-radius: 0;

        background-color: transparent;
        color: var(--about-accent);

        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .about-process-icon {
        grid-column: 1;
        grid-row: 1 / 4;

        width: 46px;
        height: 46px;
        margin: 0;

        font-size: 17px;
    }

    .about-process-step h3 {
        grid-column: 2;
        grid-row: 2;

        margin: 0 0 7px;

        font-size: 19px;
    }

    .about-process-step p {
        grid-column: 2;
        grid-row: 3;

        max-width: none;
        margin: 0;
    }

    .about-details-images {
        min-height: 0;
    }

    .about-details-image-main {
        position: relative;
        top: auto;
        right: auto;

        width: 100%;
        height: 315px;

        border-radius: 14px;
    }

    .about-details-image-small {
        position: relative;
        bottom: auto;
        left: auto;

        width: 68%;
        height: 190px;
        margin: -54px 12px 0 auto;

        border-width: 6px;
        border-radius: 13px;
    }

    .footer-brand-description {
        margin-top: 18px;
    }

}


/* =========================
   VRLO MALI TELEFONI
========================= */

@media (max-width: 420px) {

    .about-hero,
    .about-story,
    .about-values,
    .about-process,
    .about-details {
        padding: 52px 0;
    }

    .about-hero-image,
    .about-hero-image img {
        height: 285px;
        min-height: 285px;
    }

    .about-story-image img {
        height: 325px;
    }

    .about-details-image-main {
        height: 285px;
    }

    .about-details-image-small {
        width: 72%;
        height: 170px;
        margin-top: -46px;
    }

}
