/* --- SCOPED CSS: About Us (Refactored) --- */

/* 1. Force Full Width Container (Breakout) */
.sb-about-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    box-sizing: border-box;
}

/* 2. The Background Panel */
.sb-about-panel {
    position: relative;
    width: 100%;
    min-height: 560px;
    /* Crucial for LCP */
    background-color: var(--sb-bg-sage, #EFF5F1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

/* 3. The White Overlay */
.sb-about-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.90);
    /* Slightly more opaque for Sage theme */
    z-index: 1;
}

/* 4. The Content Box */
.sb-about-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(58, 90, 64, 0.1);
}

/* 5. Typography */
.sb-logo-script {
    font-family: 'Great Vibes', cursive;
    font-size: 3.8rem;
    color: var(--sb-green, #3A5A40);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.sb-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--sb-green-dark, #29402D);
    margin-bottom: 24px;
    font-weight: 500;
}

/* 6. Buttons */
.sb-about-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.sb-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: Lato, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sb-btn-primary {
    background-color: var(--sb-green, #3A5A40);
    color: #fff !important;
    border: 1px solid var(--sb-green, #3A5A40);
}

.sb-btn-primary:hover {
    background-color: var(--sb-green-light, #588157);
    border-color: var(--sb-green-light, #588157);
    transform: translateY(-2px);
}

.sb-btn-outline {
    background-color: transparent;
    color: var(--sb-green, #3A5A40) !important;
    border: 1px solid var(--sb-green, #3A5A40);
}

.sb-btn-outline:hover {
    background-color: var(--sb-green, #3A5A40);
    color: #fff !important;
    transform: translateY(-2px);
}

/* 7. Signature Animation */
.sb-signature {
    margin-top: 25px;
    width: 200px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

.sig-text {
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    fill: none;
    stroke: var(--sb-green, #3A5A40);
    stroke-width: 1.5;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: drawSig 3s ease forwards;
}

@keyframes drawSig {
    to {
        stroke-dashoffset: 0;
    }
}

.sb-sig-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sb-green, #3A5A40);
    margin-top: -10px;
    font-weight: bold;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sb-about-content {
        padding: 30px 20px;
    }

    .sb-logo-script {
        font-size: 3rem;
    }

    .sb-text {
        font-size: 1rem;
    }
}