﻿/* --- Local Expert Section --- */
.local-expert-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.local-expert-container {
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

.local-expert-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

/* --- Text Content --- */
.local-expert-text-content {
    text-align: left;
}

.local-expert-heading {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 600; /* font-semibold */
    color: var(--daikin-dark-navy);
    margin-bottom: 2rem;
}

.local-expert-paragraph {
    font-size: 1.25rem; /* text-xl */
    color: var(--gray-700);
    margin-bottom: 2rem;
    line-height: 1.625;
}

/* --- Button --- */
.local-expert-button-link {
    text-decoration: none;
}

.local-expert-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    height: 3rem; /* h-11 */
    border-radius: 0.375rem; /* rounded-md */
    background-color: var(--daikin-blue);
    color: white;
    padding: 1rem 2rem; /* px-8 py-4 */
    font-size: 1.125rem; /* text-lg */
    font-weight: 500; /* font-medium */
    border: none;
    cursor: pointer;
}

    .local-expert-button:hover {
        background-color: var(--daikin-dark-navy);
    }

.local-expert-button-icon {
    margin-left: 0.5rem;
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    transition: transform 0.3s ease;
}

.local-expert-button:hover .local-expert-button-icon {
    transform: translateX(4px);
}

/* --- Image --- */
.local-expert-image-wrapper {
    order: -1; /* Corresponds to order-first */
}

.local-expert-image {
    width: 100%;
    height: auto;
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* --- Responsive Styles --- */
@media (min-width: 640px) {
    .local-expert-container {
        padding: 0 1.5rem;
    }

    .local-expert-heading {
        font-size: 2.25rem; /* sm:text-4xl */
    }
}

@media (min-width: 1024px) {
    .local-expert-container {
        padding: 0 2rem;
    }

    .local-expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .local-expert-heading {
        font-size: 2.25rem; /* lg:text-4xl */
    }

    .local-expert-image-wrapper {
        order: 1; /* Corresponds to lg:order-last */
    }
}
