/* 
 * About Page - Exact Design Match 
 */

:root {
    --about-cream: #FDFBF7;
    --about-white: #FFFFFF;
    --about-dark: #1A1A1A;
    --about-text: #4A4A4A;
    --about-accent: #3D5045; /* Dark Green */
    --about-light-card: #F4F6F2; /* Very pale green/cream for cards */
}

.zemyna-about-page {
    background-color: var(--about-white);
    color: var(--about-text);
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* Base Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-cream { background-color: var(--about-cream); }
.bg-white { background-color: var(--about-white); }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.display-1 {
    font-family: Georgia, serif;
    font-size: clamp(3.5rem, 6vw, 5rem);
    line-height: 1.1;
    color: var(--about-dark);
    font-weight: 400;
    margin-bottom: 1rem;
}

.display-2 {
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--about-dark);
    font-weight: 400;
    margin-bottom: 1rem;
}

.heading-3 {
    font-family: Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    color: var(--about-dark);
    font-weight: 400;
}

/* Divider Leaf Icon */
.about-hero__divider,
.about-consultant__divider,
.about-cta__divider {
    display: flex;
    margin-bottom: 2rem;
    color: #879F86;
}

.about-cta__divider {
    justify-content: center;
}

/* Body Text */
.about-hero__intro p,
.about-consultant__description p,
.about-cta__description p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--about-text);
    margin-bottom: 1.5rem;
}

/* 
 * Hero Section 
 */
.about-hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.about-hero__eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-hero__botanical {
    position: absolute;
    top: 10%;
    left: -5%;
    width: 40%;
    max-width: 600px;
    z-index: 0;
    color: var(--about-accent);
}

.about-hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .about-hero__container {
        grid-template-columns: 5fr 7fr;
        gap: 6rem;
    }
}

.about-hero__content {
    max-width: 500px;
}

.about-hero__portrait-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 40px;
}

.about-hero__portrait,
.about-hero__portrait-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: #EAE6DF;
}

.about-hero__floating-badge {
    position: absolute;
    bottom: 20px;
    right: -20px; /* Position exactly as in the image */
    width: 200px;
    height: 200px;
    z-index: 2;
}

@media (max-width: 991px) {
    .about-hero__floating-badge {
        right: 10px;
        bottom: -30px;
        width: 140px;
        height: 140px;
    }
}

.about-hero__sbti {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* 
 * Middle Section (Cards) 
 */
.about-middle-section {
    padding: 100px 0;
}

.about-middle-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .about-middle-section__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-card {
    background-color: var(--about-light-card);
    padding: 3rem;
    border-radius: 0; /* Boxy look in the image */
}

.about-card__header {
    margin-bottom: 2rem;
}

.about-card__icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--about-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-card__title {
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.about-card__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--about-text);
}

.about-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card__list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--about-text);
}

.about-card__list-item:last-child {
    margin-bottom: 0;
}

.about-card__list-icon {
    flex-shrink: 0;
    margin-right: 1rem;
    margin-top: 2px;
}

.sub-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.sub-list li {
    margin-bottom: 0.5rem;
}

/* 
 * Consultant Section 
 */
.about-consultant {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-consultant__botanical-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20%;
    max-width: 300px;
    z-index: 0;
    color: var(--about-accent);
}

.about-consultant__botanical-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
    max-width: 300px;
    z-index: 0;
    color: var(--about-accent);
    transform: rotate(180deg);
}

.about-consultant__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .about-consultant__content {
        order: 2;
    }
    .about-consultant__visuals {
        order: 1;
        margin-bottom: -1rem; /* Adjust spacing between image and text on mobile if needed */
    }
}

@media (min-width: 992px) {
    .about-consultant__layout {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.about-consultant__content {
    max-width: 500px;
}

.about-consultant__portrait-wrapper {
    aspect-ratio: 4/5;
    border-radius: 40px;
    overflow: hidden;
}

.about-consultant__portrait,
.about-consultant__portrait-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #EAE6DF;
}


/* 
 * CTA Section 
 */
.about-cta {
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.about-cta__botanical {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
    max-width: 300px;
    z-index: 0;
    color: var(--about-accent);
}

.about-cta__container {
    position: relative;
    z-index: 1;
    max-width: 900px; /* Constrain width for the CTA */
}

.about-cta__header {
    margin-bottom: 4rem;
}

.about-cta__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
    align-items: center;
}

@media (min-width: 768px) {
    .about-cta__layout {
        grid-template-columns: 1fr 2fr; /* SBTi left, Form right */
        gap: 4rem;
    }
}

.about-cta__sbti-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-cta__sbti-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.about-cta__sbti-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--about-text);
}

/* Contact Form Overrides for this layout */
.about-cta__form-wrapper form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-cta__form-wrapper form .wpcf7-form-control-wrap:last-of-type {
    grid-column: 1 / -1; /* Message spans full width */
}

.about-cta__form-wrapper form input[type="text"],
.about-cta__form-wrapper form input[type="email"],
.about-cta__form-wrapper form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #EAE6DF;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.about-cta__form-wrapper form input[type="submit"] {
    grid-column: 1 / -1;
    background-color: var(--about-accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    justify-self: start; /* Align button to left */
    font-family: 'Inter', sans-serif;
}
