/* Explain: Paint swatch cards, buttons, gallery, and quote overlay */
.swatch-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.76);
    color: var(--secondary-color);
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.paint-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 1.5rem;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 12px 0 0 var(--accent-color), 24px 0 0 var(--secondary-color);
}

.btn-paint-primary {
    min-height: 3.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--eggshell-color);
    box-shadow: 0 18px 35px rgba(224, 122, 95, 0.32);
    font-weight: 800;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn-paint-primary:hover,
.btn-paint-primary:focus-visible {
    background: var(--primary-hover);
    box-shadow: 0 22px 42px rgba(224, 122, 95, 0.42);
    transform: translateY(-2px);
}

.btn-paint-secondary {
    min-height: 3.25rem;
    border: 1px solid rgba(244, 241, 222, 0.34);
    border-radius: 999px;
    background: rgba(244, 241, 222, 0.12);
    color: var(--eggshell-color);
    font-weight: 800;
    transition: background 220ms ease, transform 220ms ease;
}

.btn-paint-secondary:hover,
.btn-paint-secondary:focus-visible {
    background: rgba(244, 241, 222, 0.2);
    transform: translateY(-2px);
}

.hero-photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--secondary-color);
    box-shadow: var(--shadow-soft);
}

.hero-photo-frame::before {
    content: '';
    position: absolute;
    inset: 1.1rem;
    z-index: 2;
    border: 1px solid rgba(244, 241, 222, 0.54);
    border-radius: calc(var(--radius-xl) - 0.75rem);
    pointer-events: none;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 3;
    width: min(46%, 15rem);
    height: 5.5rem;
    border-radius: 1.35rem;
    background: linear-gradient(90deg, var(--terracotta-color) 0 33%, var(--mustard-color) 33% 66%, var(--indigo-color) 66% 100%);
    box-shadow: 0 16px 34px rgba(37, 40, 61, 0.28);
}

.service-swatch-card {
    position: relative;
    overflow: hidden;
    min-height: 19rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: var(--shadow-card);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.service-swatch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(61, 64, 91, 0.18);
}

.service-swatch-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 8.5rem;
    background: var(--card-color, var(--primary-color));
}

.service-icon-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1.35rem;
    background: rgba(244, 241, 222, 0.92);
    color: var(--secondary-color);
    box-shadow: 0 14px 26px rgba(37, 40, 61, 0.18);
}

.gallery-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: var(--shadow-card);
}

.gallery-card img {
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
    transition: transform 420ms ease;
}

.gallery-card:hover img {
    transform: scale(1.045);
}

.quote-sticky {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5rem);
    transition: opacity 240ms ease, transform 240ms ease;
}

.quote-sticky-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow-y: auto;
    background: rgba(37, 40, 61, 0.92);
    backdrop-filter: blur(18px);
}

.quote-panel {
    border: 1px solid rgba(244, 241, 222, 0.24);
    border-radius: var(--radius-xl);
    background: var(--eggshell-color);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.form-field label {
    margin-bottom: 0.45rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-field .input,
.form-field .select {
    min-height: 3.25rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: rgba(255, 250, 240, 0.88);
    color: var(--text-color);
}

.quote-status {
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font-weight: 700;
}

.quote-status-success {
    background: rgba(129, 178, 154, 0.18);
    color: #315f47;
}

.quote-status-error {
    background: rgba(224, 122, 95, 0.16);
    color: #8f321f;
}
