/* ==========================================================
   FLOOREX – MEIST / ABOUT PAGE
   File: assets/css/pages/about.css

   Brand:
   Dark green: #183329
   Lime green: #72c943
   Light background: #f6f7f4
   Text: #292929
   ========================================================== */


/* ----------------------------------------------------------
   1. PAGE VARIABLES
   ---------------------------------------------------------- */

.floorex-about {
    --about-dark: #183329;
    --about-accent: #72c943;
    --about-light: #f6f7f4;
    --about-text: #292929;
    --about-muted: #58645d;
    --about-border: #e4e9e2;

    color: var(--about-text);
    background: #ffffff;
    overflow: clip;
}

.floorex-about *,
.floorex-about *::before,
.floorex-about *::after {
    box-sizing: border-box;
}

.floorex-about .container {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}

.floorex-about img {
    max-width: 100%;
    height: auto;
}

.floorex-about a {
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* ----------------------------------------------------------
   2. HERO
   ---------------------------------------------------------- */

.floorex-about__hero {
    position: relative;
    padding: clamp(100px, 13vw, 190px) 0
             clamp(85px, 10vw, 145px);
    background: #f9f9f9;
}

.floorex-about__hero-inner {
    max-width: 1100px;
}

.floorex-about__eyebrow {
    display: inline-block;
    margin-bottom: 28px;

    color: var(--about-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.floorex-about__title {
    max-width: 1050px;
    margin: 0;

    color: var(--about-dark);
    font-size: clamp(48px, 7.2vw, 108px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.065em;
    overflow-wrap: break-word;
}

.floorex-about__accent {
    width: 76px;
    height: 5px;
    margin-top: clamp(35px, 5vw, 65px);
    background: var(--about-accent);
}


/* ----------------------------------------------------------
   3. INTRODUCTION + IMAGE
   ---------------------------------------------------------- */

.floorex-about__introduction {
    padding: clamp(85px, 10vw, 150px) 0;
    background: #ffffff;
}

.floorex-about__intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    align-items: center;
    gap: clamp(50px, 7vw, 110px);
}

.floorex-about__intro-text {
    max-width: 620px;
}

.floorex-about__intro-text h2,
.floorex-about__intro-text h3 {
    margin: 0 0 28px;
    color: var(--about-dark);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.floorex-about__intro-text h2 {
    font-size: clamp(32px, 3.5vw, 52px);
}

.floorex-about__intro-text h3 {
    font-size: clamp(25px, 2.5vw, 34px);
}

.floorex-about__intro-text p {
    margin: 0 0 24px;

    color: var(--about-muted);
    font-size: clamp(18px, 1.75vw, 23px);
    font-weight: 400;
  
}

.floorex-about__intro-text p:last-child {
    margin-bottom: 0;
}

.floorex-about__intro-text strong {
    color: var(--about-dark);
    font-weight: 600;
}

.floorex-about__image {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--about-light);
}

.floorex-about__image img {
    display: block;
    width: 100%;
    height: clamp(380px, 40vw, 620px);
    object-fit: cover;
    object-position: center;
	border-radius:5px;
}


/* ----------------------------------------------------------
   4. MAIN CONTENT – CLASSIC EDITOR
   ---------------------------------------------------------- */

.floorex-about__section {
    padding: clamp(85px, 10vw, 145px) 0;
    background: white;
}

.floorex-about__content {
    max-width: 900px;
    margin-inline: auto;
}

.floorex-about__content > :first-child {
    margin-top: 0;
}

.floorex-about__content > :last-child {
    margin-bottom: 0;
}

.floorex-about__content h2 {
    margin: 75px 0 25px;

    color: var(--about-dark);
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -0.05em;
}

.floorex-about__content h3 {
    margin: 48px 0 20px;

    color: var(--about-dark);
    font-size: clamp(25px, 2.6vw, 34px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.floorex-about__content h4 {
    margin: 35px 0 15px;
    color: var(--about-dark);
    font-size: 21px;
    font-weight: 600;
}

.floorex-about__content p {
    margin: 0 0 24px;

    color: var(--about-muted);
   
}

.floorex-about__content strong {
    color: var(--about-dark);
    font-weight: 600;
}

.floorex-about__content a {
    color: var(--about-dark);
    text-decoration: underline;
    text-decoration-color: var(--about-accent);
    text-underline-offset: 5px;
}

.floorex-about__content a:hover {
    color: #4b9d26;
}

.floorex-about__content ul,
.floorex-about__content ol {
    margin: 0 0 30px;
    padding-left: 26px;

    color: var(--about-muted);
    font-size: 18px;
    line-height: 1.85;
}

.floorex-about__content li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.floorex-about__content li::marker {
    color: var(--about-accent);
}



.floorex-about__content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.floorex-about__content figure {
    max-width: 100%;
    margin: 45px 0;
}

.floorex-about__content figcaption {
    margin-top: 12px;
    color: var(--about-muted);
    font-size: 13px;
    line-height: 1.6;
}

.floorex-about__content hr {
    height: 1px;
    margin: 60px 0;
    border: 0;
    background: var(--about-border);
}


/* ----------------------------------------------------------
   5. KIILTO PARTNERSHIP
   ---------------------------------------------------------- */

.floorex-about__kiilto {
    padding: clamp(90px, 11vw, 160px) 0;
    background: #ffffff;
}

.floorex-about__kiilto-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.65fr)
        minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(55px, 9vw, 145px);
}

.floorex-about__kiilto-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 230px;
}

.floorex-about__kiilto-logo img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

.floorex-about__kiilto-content {
    max-width: 720px;
}

.floorex-about__kiilto-content h2 {
    margin: 0 0 32px;

    color: var(--about-dark);
    font-size: clamp(36px, 4.1vw, 62px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.floorex-about__kiilto-content p {
    margin: 0 0 22px;

    color: var(--about-muted);
    font-size: 18px;
    line-height: 1.85;
}

.floorex-about__kiilto-content p:last-child {
    margin-bottom: 0;
}

.floorex-about__kiilto-content strong {
    color: var(--about-dark);
    font-weight: 600;
}

.floorex-about__kiilto-content a {
    color: var(--about-dark);
    text-decoration-color: var(--about-accent);
    text-underline-offset: 5px;
}


/* ----------------------------------------------------------
   6. CTA
   ---------------------------------------------------------- */

.floorex-about__cta {
    padding: clamp(90px, 11vw, 150px) 0;
    background: var(--about-dark);
}

.floorex-about__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.floorex-about__cta-content {
    max-width: 760px;
}

.floorex-about__cta-content h2 {
    margin: 0 0 22px;

    color: #ffffff;
    font-size: clamp(40px, 5vw, 76px);
    font-weight: 400;
    line-height: 1.07;
    letter-spacing: -0.055em;
}

.floorex-about__cta-content p {
    max-width: 580px;
    margin: 0;

    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.7;
}

.floorex-about__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    flex-shrink: 0;
    min-height: 62px;
    padding: 18px 26px;

    border: 1px solid var(--about-accent);
    border-radius: 0;

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

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.floorex-about__button span {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s ease;
}

.floorex-about__button:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--about-dark);
}

.floorex-about__button:hover span {
    transform: translateX(5px);
}

.floorex-about__button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 5px;
}


/* ----------------------------------------------------------
   7. WORDPRESS CONTENT PAGINATION
   ---------------------------------------------------------- */

.floorex-about__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--about-border);
}

.floorex-about__pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--about-border);
    color: var(--about-dark);
    text-decoration: none;
}

.floorex-about__pagination a:hover {
    border-color: var(--about-accent);
    background: var(--about-accent);
}


/* ----------------------------------------------------------
   8. TABLET
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

    .floorex-about__hero {
        padding: 110px 0 95px;
    }

    .floorex-about__intro-grid {
        gap: 45px;
    }

    .floorex-about__kiilto-grid {
        gap: 60px;
    }

    .floorex-about__cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 40px;
    }

    .floorex-about__button {
        min-width: 220px;
    }
}


/* ----------------------------------------------------------
   9. MOBILE
   ---------------------------------------------------------- */

@media (max-width: 768px) {

    .floorex-about .container {
        width: min(100% - 36px, 1280px);
    }

    .floorex-about__hero {
        padding: 85px 0 80px;
    }

    .floorex-about__eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .floorex-about__title {
        font-size: clamp(43px, 11vw, 70px);
        letter-spacing: -0.055em;
    }

    .floorex-about__accent {
        width: 55px;
        height: 4px;
        margin-top: 38px;
    }

    .floorex-about__introduction {
        padding: 70px 0;
    }

    .floorex-about__intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floorex-about__intro-text {
        max-width: 100%;
    }

    .floorex-about__intro-text p {
        font-size: 18px;
        line-height: 1.7;
    }

    .floorex-about__image img {
        height: auto;
        max-height: 520px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .floorex-about__section {
        padding: 75px 0;
    }

    .floorex-about__content h2 {
        margin-top: 50px;
        font-size: 34px;
    }

    .floorex-about__content h3 {
        margin-top: 35px;
        font-size: 26px;
    }

    .floorex-about__content p,
    .floorex-about__content ul,
    .floorex-about__content ol {
        font-size: 16px;
        line-height: 1.8;
    }

    .floorex-about__content blockquote {
        margin: 40px 0;
        padding-left: 22px;
    }

    .floorex-about__kiilto {
        padding: 80px 0;
    }

    .floorex-about__kiilto-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .floorex-about__kiilto-logo {
        justify-content: flex-start;
        min-height: 0;
    }

    .floorex-about__kiilto-logo img {
        max-width: 190px;
    }

    .floorex-about__kiilto-content h2 {
        margin-bottom: 25px;
        font-size: 38px;
    }

    .floorex-about__kiilto-content p {
        font-size: 16px;
        line-height: 1.8;
    }

    .floorex-about__cta {
        padding: 80px 0;
    }

    .floorex-about__cta-inner {
        gap: 35px;
    }

    .floorex-about__cta-content h2 {
        font-size: clamp(38px, 9vw, 58px);
    }

    .floorex-about__cta-content p {
        font-size: 16px;
    }

    .floorex-about__button {
        min-height: 58px;
        padding: 16px 22px;
    }
}


/* ----------------------------------------------------------
   10. SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .floorex-about__hero {
        padding: 70px 0 65px;
    }

    .floorex-about__title {
        font-size: clamp(39px, 11vw, 54px);
    }

    .floorex-about__introduction,
    .floorex-about__section,
    .floorex-about__kiilto {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .floorex-about__content h2 {
        font-size: 30px;
    }

    .floorex-about__kiilto-content h2 {
        font-size: 34px;
    }

    .floorex-about__cta {
        padding: 65px 0;
    }

    .floorex-about__cta-content h2 {
        font-size: 40px;
    }

    .floorex-about__button {
        width: 100%;
    }
}


/* ----------------------------------------------------------
   11. REDUCED MOTION
   ---------------------------------------------------------- */

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

    .floorex-about a,
    .floorex-about__button span {
        transition: none;
    }

}

