/*
|--------------------------------------------------------------------------
| Qorezo Composable Rendering Layer
|--------------------------------------------------------------------------
| Component: About Us Section Variants
| Scope: Marketing Homepage Composer Only (.home-composer)
|
| Variant Identity Rules:
|   clean   → Editorial Minimal (Aman, Apple, Notion)
|   elegant → Luxury Hotel (framing, overlays, serif accents)
|   modern  → Contemporary Depth (overlapping layers, cards, geometry)
|   nature  → Organic Resort (asymmetry, soft corners, earthy spacing)
|
| Contract Rules:
| - MUST declare explicit position: relative on the variant namespace root
|   prior to applying position: absolute on children.
| - MUST NOT declare raw aesthetic tokens (#hex, color names, literal fonts).
| - MUST NOT use bare HTML tag selectors.
| - MUST NOT use arbitrary !important declarations.
|--------------------------------------------------------------------------
*/

/* ==========================================================================
   1. VARIANT: Clean — Editorial Minimal
   
   Design: No image. Centered single-column typography.
   Generous whitespace, thin divider, large display heading.
   Think: Aman Hotels, Apple, Notion.
   ========================================================================== */

.page-home .home-composer .section-about.section-about--clean {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.page-home .home-composer .section-about--clean .about-clean__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Eyebrow — subtle uppercase label */
.page-home .home-composer .section-about--clean .about-clean__eyebrow {
    font-family: var(--font-family-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-primary-color);
    margin-bottom: 1.5rem;
}

/* Display Heading — large serif/display font */
.page-home .home-composer .section-about--clean .about-clean__heading {
    font-family: var(--font-family-secondary, serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-secondary);
    margin: 0 0 2rem 0;
    letter-spacing: -0.01em;
}

/* Thin Divider — restrained elegance */
.page-home .home-composer .section-about--clean .about-clean__rule {
    width: 3.5rem;
    height: 1px;
    border: none;
    background: var(--brand-primary-color);
    opacity: 0.3;
    margin: 0 auto 2.5rem auto;
}

/* Lead Paragraph — slightly larger, slightly bolder */
.page-home .home-composer .section-about--clean .about-clean__lead {
    font-family: var(--font-family-primary);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    max-width: 600px;
}

/* Body Copy — generous line-height for readability */
.page-home .home-composer .section-about--clean .about-clean__body {
    margin: 0 0 2.5rem 0;
}

.page-home .home-composer .section-about--clean .about-clean__body p {
    font-family: var(--font-family-primary);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    opacity: 0.85;
}

.page-home .home-composer .section-about--clean .about-clean__body p:last-child {
    margin-bottom: 0;
}

/* CTA Button — centered, clean */
.page-home .home-composer .section-about--clean .about-clean__cta {
    margin-top: 0.5rem;
}

/* Clean Variant Mobile */
@media screen and (max-width: 768px) {
    .page-home .home-composer .section-about.section-about--clean {
        min-height: auto;
        padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem);
    }

    .page-home .home-composer .section-about--clean .about-clean__heading {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }
}


/* ==========================================================================
   2. VARIANT: Elegant — Luxury Hotel
   
   Design: Decorative bars, overlay frame with SVG icon, right-column card.
   Framing, luxury spacing, serif accents.
   ========================================================================== */

.page-home .home-composer .section-about.section-about--elegant {
    position: relative; /* Explicit Position Context Contract */
    min-height: 95vh;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem) var(--margin-page, 1rem);
}

.page-home .home-composer .section-about--elegant .about-us__image {
    position: relative;
    isolation: isolate;
}

.page-home .home-composer .section-about--elegant .about-us__image img {
    display: block;
    width: min(52rem, 100%);
    height: auto;
    border-radius: var(--border-radius-secondary);
    box-shadow: var(--box-shadow-primary);
    object-fit: cover;
}

.page-home .home-composer .section-about--elegant .about-deco--bar {
    position: absolute;
    left: -1.25rem;
    top: 2%;
    bottom: 2%;
    width: 0.75rem;
    background: var(--brand-primary-accent-dark-color);
    border-radius: var(--border-radius-primary);
    z-index: var(--z-below, -1);
}

.page-home .home-composer .section-about--elegant .about-deco--chip {
    position: absolute;
    right: 8%;
    top: 22%;
    width: clamp(5rem, 12vw, 8rem);
    height: clamp(3rem, 8vw, 4.5rem);
    opacity: .85;
    border-radius: var(--border-radius-primary);
    z-index: var(--z-above, 1);
}

.page-home .home-composer .section-about--elegant .about-us__frame {
    position: absolute;
    left: clamp(1rem, 6vw, 3rem);
    top: clamp(8rem, 24%, 12rem);
    width: clamp(15rem, 45%, 24rem);
    padding: 1.75rem 1.5rem;
    background: var(--color-secondary);
    color: var(--text-tertiary);
    border-radius: var(--border-radius-primary);
    box-shadow: var(--box-shadow-primary);
    z-index: var(--z-frame, 5);
}

.page-home .home-composer .section-about--elegant .frame__icon {
    display: flex;
    justify-content: center;
    color: var(--brand-primary-color);
    margin-bottom: 1rem;
}

.page-home .home-composer .section-about--elegant .frame__title {
    font-family: var(--font-family-secondary);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--brand-primary-color);
    margin: 0 0 .5rem 0;
    text-align: center;
}

.page-home .home-composer .section-about--elegant .frame__text {
    line-height: var(--line-height-relaxed);
    color: var(--brand-primary-accent-color);
    margin: 0;
    text-align: center;
}

.page-home .home-composer .section-about--elegant .about-us__details {
    display: grid;
    background: var(--background-tertiary);
    gap: 1rem;
}

.page-home .home-composer .section-about--elegant .about-lead {
    font-family: var(--font-family-primary);
}

/* Elegant Variant Mobile Breakpoint */
@media screen and (max-width: 768px) {
    .page-home .home-composer .section-about.section-about--elegant {
        margin: var(--layout-breakout-inline);
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1.5rem;
    }

    .page-home .home-composer .section-about--elegant .about-us__frame {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 1rem;
        bottom: auto;
        width: auto;
        text-align: center;
        padding: 1.25rem;
        opacity: .9;
    }

    .page-home .home-composer .section-about--elegant .frame__title {
        font-size: 1.5rem;
    }

    .page-home .home-composer .section-about--elegant .frame__text {
        font-size: 0.95rem;
    }

    .page-home .home-composer .section-about--elegant .about-us__details .button {
        width: 100%;
    }
}


/* ==========================================================================
   3. VARIANT: Modern — Contemporary Depth
   
   Design: Image takes 55% width, text card overlaps from the right
   with negative margin creating depth. Brand accent line on left edge.
   Elevated shadow + white background card.
   ========================================================================== */

.page-home .home-composer .section-about.section-about--modern {
    position: relative;
    min-height: 85vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0; /* Gap handled by negative margin overlap */
    padding: clamp(3rem, 5vw, 5rem) var(--margin-page, 1rem);
}

/* Image pane — takes left 55% */
.page-home .home-composer .section-about--modern .about-modern__image {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: var(--z-above, 1);
}

.page-home .home-composer .section-about--modern .about-modern__image img {
    display: block;
    width: 100%;
    height: clamp(400px, 55vh, 600px);
    object-fit: cover;
    border-radius: var(--border-radius-secondary);
    box-shadow: var(--box-shadow-primary);
}

/* Content Card — overlaps image from right */
.page-home .home-composer .section-about--modern .about-modern__card {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: var(--z-frame, 5);
    margin-left: -4rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--background-tertiary);
    border-radius: var(--border-radius-secondary);
    box-shadow: var(--box-shadow-elevated, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.15));
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Brand Accent Line — left edge of card */
.page-home .home-composer .section-about--modern .about-modern__accent {
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: var(--brand-primary-color);
    border-radius: 2px;
}

.page-home .home-composer .section-about--modern .about-modern__heading {
    font-family: var(--font-family-secondary, serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    color: var(--color-secondary);
    margin: 0;
    line-height: 1.2;
}

.page-home .home-composer .section-about--modern .about-modern__lead {
    font-family: var(--font-family-primary);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--brand-primary-color);
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

.page-home .home-composer .section-about--modern .about-modern__body {
    font-family: var(--font-family-primary);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
}

.page-home .home-composer .section-about--modern .about-modern__card .button {
    margin-top: 0.75rem;
    width: fit-content;
    box-shadow: var(--box-shadow-primary);
}

/* Modern Variant Mobile Breakpoint */
@media screen and (max-width: 768px) {
    .page-home .home-composer .section-about.section-about--modern {
        margin: var(--layout-breakout-inline);
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 0;
        padding: 0;
    }

    .page-home .home-composer .section-about--modern .about-modern__image img {
        border-radius: 0;
        height: clamp(16rem, 50vw, 22rem);
    }

    .page-home .home-composer .section-about--modern .about-modern__card {
        margin-left: 0;
        margin-top: -2rem;
        margin-inline: 1rem;
        border-radius: var(--border-radius-secondary);
        z-index: var(--z-frame, 5);
    }

    .page-home .home-composer .section-about--modern .about-modern__accent {
        top: 0;
        bottom: 0;
        left: 0;
        width: 4px;
        border-radius: 2px 0 0 2px;
    }

    .page-home .home-composer .section-about--modern .about-modern__card .button {
        width: 100%;
    }
}


/* ==========================================================================
   4. VARIANT: Nature — Organic Resort
   
   Design: Asymmetric rounded corners on image, split paragraph grid,
   soft earthy shadows, organic spacing. Eyebrow label.
   ========================================================================== */

.page-home .home-composer .section-about.section-about--nature {
    position: relative;
    min-height: 85vh;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 5vw, 7.5rem);
    max-width: 1440px;
    margin-inline: auto;
}

/* Image with organic asymmetric border-radius */
.page-home .home-composer .section-about--nature .about-nature__image {
    grid-column: 1;
    grid-row: 1;
}

.page-home .home-composer .section-about--nature .about-nature__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 2rem 0.5rem 2rem 0.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Content column */
.page-home .home-composer .section-about--nature .about-nature__content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: flex-start;
}

/* Eyebrow — organic style */
.page-home .home-composer .section-about--nature .about-nature__eyebrow {
    font-family: var(--font-family-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-primary-color);
}

/* Heading */
.page-home .home-composer .section-about--nature .about-nature__heading {
    font-family: var(--font-family-secondary, serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-secondary);
    margin: 0;
}

/* Split paragraph grid — 2 columns of text, unique to nature */
.page-home .home-composer .section-about--nature .about-nature__text-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1rem, 3vw, 2.5rem);
    row-gap: 1rem;
}

.page-home .home-composer .section-about--nature .about-nature__paragraph {
    margin: 0;
    font-family: var(--font-family-primary);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-home .home-composer .section-about--nature .about-nature__paragraph--primary {
    color: var(--text-primary);
    font-weight: 500;
}

.page-home .home-composer .section-about--nature .button {
    margin-top: 0.5rem;
    box-shadow: var(--box-shadow-primary);
}

/* Nature Variant Mobile Breakpoint */
@media screen and (max-width: 768px) {
    .page-home .home-composer .section-about.section-about--nature {
        margin: var(--layout-breakout-inline);
        display: block;
        padding: 0;
        min-height: auto;
    }

    .page-home .home-composer .section-about--nature .about-nature__image img {
        width: 100%;
        height: clamp(16rem, 55vh, 28rem);
        object-fit: cover;
        border-radius: 0;
    }

    .page-home .home-composer .section-about--nature .about-nature__content {
        padding: clamp(1.25rem, 3vw, 1.5rem) clamp(1rem, 4vw, 1.5rem);
        border-radius: var(--border-radius-secondary);
        box-shadow: var(--box-shadow-primary);
        background: rgba(255, 255, 255, .92);
        margin: -1.5rem 1rem 0 1rem;
        position: relative;
        z-index: var(--z-above, 2);
    }

    .page-home .home-composer .section-about--nature .about-nature__text-grid {
        grid-template-columns: 1fr;
        row-gap: 0.85rem;
    }
}
