/*
 * Webhaki Market theme stylesheet (plain CSS, valid SCSS).
 * Loaded after base.css: re-skins base through its tokens, then styles the market blocks.
 *
 * Blocks (BEM, no theme prefix):
 *   .announcement             bar above the header
 *   .header-search            search field in the header
 *   .market-hero              [market-hero]
 *   .section-head             heading row of a section (eyebrow, title, text | link)
 *   .category-tabs            category links above a grid
 *   (product cards, product page, buy box, modals, listing and order pages: Market Products plugin CSS)
 *   .feature-grid / .feature  [market-features]
 *   .market-cta               [market-cta]
 *   .best-apps / .best-app    [market-best-apps]
 *   Hire us page: .service-grid / .service [market-services], .pricing-grid / .plan [market-pricing],
 *   .step-list / .step [market-steps], .why [market-why], .quote-form [market-quote-form], .faq-list / .faq [market-faq]
 *
 * The plugin reads the same --theme-* tokens, so its pages follow these colors.
 */

/* Tokens ---------------------------------------------------------------------------------------- */
:root {
    --theme-color-primary: #2563eb;
    --theme-color-primary-rgb: 37, 99, 235;
    --theme-color-secondary: #0f172a;
    --theme-color-heading: #0f172a;
    --theme-color-text: #334155;
    --theme-color-text-muted: #64748b;
    --theme-color-border: #e2e8f0;
    --theme-color-surface-muted: #f8fafc;
    --theme-color-success: #16a34a;
    --theme-radius-sm: 8px;
    --theme-radius-md: 12px;
    --theme-radius-lg: 16px;
    --theme-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --theme-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --theme-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
    --theme-container-max-width: 1240px;
    --theme-header-height: 72px;
    --theme-footer-bg: #0f172a;
    --theme-footer-color: #94a3b8;
    --market-gradient: linear-gradient(90deg, #f97316 0%, #ef4444 50%, #db2777 100%);
}

body {
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
}

.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #fff;
    border-radius: 50%;
    animation: market-spin 0.7s linear infinite;
}

@keyframes market-spin {
    to { transform: rotate(360deg); }
}

/* Pages wrap shortcodes in .ck-content, which gives h2–h4 a top margin: not for the market blocks */
.ck-content .market-hero__title,
.ck-content .section-head__title,
.ck-content .m-card__title,
.ck-content .feature__title,
.ck-content .market-cta__title,
.ck-content .service__title,
.ck-content .plan__name,
.ck-content .step__title {
    margin-top: 0;
}

/* Announcement bar ------------------------------------------------------------------------------ */
.announcement {
    background: var(--market-gradient);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.announcement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 40px;
    padding-block: 0.4rem;
    text-align: center;
}

.announcement__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.announcement__link:hover {
    background: rgba(255, 255, 255, 0.32);
    color: #fff;
}

/* Header ---------------------------------------------------------------------------------------- */
.site-header__main {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
}

.site-header .site-nav {
    margin-inline-start: 1.5rem;
}

.site-header .site-nav .menu__link,
.site-header .site-nav > ul > li > a {
    font-weight: 600;
    font-size: 0.95rem;
}

.site-header__link {
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: var(--theme-color-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__link:hover {
    color: var(--theme-color-primary);
}

.site-header__button {
    align-items: center;
    margin-inline-start: 0.25rem;
    padding: 0.55rem 1.1rem;
}

.site-header__actions {
    gap: 0.5rem;
}

.header-search {
    position: relative;
    display: none;
    align-items: center;
}

.header-search__icon {
    position: absolute;
    inset-inline-start: 0.75rem;
    color: var(--theme-color-text-muted);
    pointer-events: none;
}

.header-search__input {
    width: 210px;
    height: 40px;
    padding: 0 0.85rem 0 2.25rem;
    border: 1px solid var(--theme-color-border);
    border-radius: 10px;
    background: var(--theme-color-surface-muted);
    font-size: 0.9rem;
    transition: border-color 0.2s, background-color 0.2s, width 0.2s;
}

.header-search__input:focus {
    width: 260px;
    border-color: var(--theme-color-primary);
    background: #fff;
    outline: 0;
}

.header-search--block {
    display: flex;
    margin-bottom: 1rem;
}

.header-search--block .header-search__input,
.header-search--block .header-search__input:focus {
    width: 100%;
}

@media (min-width: 992px) {
    .header-search {
        display: flex;
    }

    .header-search--block {
        display: flex;
    }
}

/* Hero ------------------------------------------------------------------------------------------ */
.market-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background:
        radial-gradient(900px 400px at 15% -10%, rgba(37, 99, 235, 0.14), transparent 60%),
        radial-gradient(700px 360px at 90% 0%, rgba(219, 39, 119, 0.1), transparent 60%),
        #fff;
    text-align: center;
}

.market-hero__inner {
    max-width: 860px;
}

.market-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--theme-color-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.market-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.market-hero__text {
    max-width: 640px;
    margin: 0 auto 2rem;
    color: var(--theme-color-text-muted);
    font-size: 1.15rem;
}

.market-hero__search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 620px;
    margin: 0 auto;
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    border: 1px solid var(--theme-color-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--theme-shadow-md);
    color: var(--theme-color-text-muted);
}

.market-hero__search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    background: none;
    font-size: 1rem;
    outline: 0;
}

.market-hero__search .btn {
    padding-inline: 1.4rem;
}

.market-hero__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    margin: 2.5rem 0 0;
}

.market-hero__stat {
    display: flex;
    flex-direction: column-reverse;
}

.market-hero__stat dt {
    color: var(--theme-color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.market-hero__stat dd {
    margin: 0;
    color: var(--theme-color-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

/* Section heading + category tabs ----------------------------------------------------------------- */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-head--center {
    justify-content: center;
    text-align: center;
}

.section-head__eyebrow {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--theme-color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-head__title,
.section-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-head__text {
    max-width: 620px;
    margin: 0.5rem 0 0;
    color: var(--theme-color-text-muted);
}

.section-head--center .section-head__text {
    margin-inline: auto;
}

.section-head__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--theme-color-primary);
    font-weight: 600;
    text-decoration: none;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-tabs__item {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    border: 1px solid var(--theme-color-border);
    border-radius: 999px;
    color: var(--theme-color-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.category-tabs__item:hover,
.category-tabs__item--active {
    border-color: var(--theme-color-heading);
    background: var(--theme-color-heading);
    color: #fff;
}

/* Features ----------------------------------------------------------------------------------------- */
.market-features {
    background: var(--theme-color-surface-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.feature {
    padding: 1.5rem;
    border: 1px solid var(--theme-color-border);
    border-radius: var(--theme-radius-lg);
    background: #fff;
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--theme-color-primary);
}

.feature__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.feature__text {
    margin: 0;
    color: var(--theme-color-text-muted);
    font-size: 0.925rem;
}

/* Call to action ------------------------------------------------------------------------------------- */
.market-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 24px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(37, 99, 235, 0.45), transparent 60%),
        var(--theme-color-heading);
    color: #cbd5e1;
}

.market-cta__eyebrow {
    display: block;
    margin-bottom: 0.4rem;
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-cta__title {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
}

.market-cta__text {
    max-width: 560px;
    margin: 0;
}

.market-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Best apps ---------------------------------------------------------------------------------------------
 * [market-best-apps]: .best-apps > __intro (__title, __link) + __list > .best-app > __icon + __body
 * (__name, __meta > __rating/__star/__reviews, __summary, __badge).
 * Colors come from the shortcode (inline custom properties): --best-apps-bg, --best-apps-image,
 * --best-apps-heading, --best-apps-text, --best-apps-accent, --best-apps-badge-text.
 * Without them it follows Theme options → Style: a band in the secondary color with white text
 * and type badges in the primary color.
 */
.best-apps {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: center;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
    border-radius: 24px;
    background: var(--best-apps-image, none) center / cover no-repeat, var(--best-apps-bg, var(--theme-color-secondary));
    color: var(--best-apps-text, rgba(255, 255, 255, 0.72));
    isolation: isolate;
}

/* Faint grid over the background, drawn in the text color */
.best-apps::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(color-mix(in srgb, currentColor 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, currentColor 6%, transparent) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

@media (min-width: 992px) {
    .best-apps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
}

.best-apps__title {
    margin: 0 0 1.5rem;
    color: var(--best-apps-heading, #fff);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
}

.ck-content .best-apps__title,
.ck-content .best-app__name {
    margin-top: 0;
}

.best-apps__link,
.best-apps__link:hover {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--best-apps-heading, #fff);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.best-apps__link:hover { text-decoration: underline; }
.best-apps__link .icon { transition: transform 0.2s ease; }
.best-apps__link:hover .icon { transform: translateX(3px); }

.best-apps__list {
    display: grid;
    gap: 1.75rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 576px) {
    .best-apps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.best-app {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.best-app__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid var(--theme-color-border);
    border-radius: 12px;
    background: #fff;
    color: var(--best-apps-accent, var(--theme-color-primary));
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

.best-app__icon img { width: 100%; height: 100%; object-fit: cover; }

.best-app__body { display: grid; gap: 0.2rem; min-width: 0; font-size: 0.85rem; line-height: 1.45; }

.best-app__name {
    margin: 0;
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.35;
}

.best-app__name a { color: var(--best-apps-heading, #fff); text-decoration: none; }
.best-app__name a:hover { color: var(--best-apps-heading, #fff); text-decoration: underline; }

.best-app__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
}

.best-app__rating,
.best-app__rating:hover {
    --mp-star-empty: color-mix(in srgb, currentColor 25%, transparent);

    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: inherit;
    text-decoration: none;
}

.best-app__rating strong { color: var(--best-apps-heading, #fff); font-weight: 600; }
.best-app__rating:hover .best-app__reviews { text-decoration: underline; }
.best-app__dot { opacity: 0.6; }

.best-app__summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.best-app__badge,
.best-app__badge:hover {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    justify-self: start;
    margin-top: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: var(--best-apps-accent, var(--theme-color-primary));
    color: var(--best-apps-badge-text, #fff);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.best-app__badge:hover { filter: brightness(1.15); }

/* Hero: buttons, note and trust points (inner pages such as Hire us) --------------------------------------- */
.market-hero__note {
    margin: -1.25rem auto 2rem;
    color: var(--theme-color-heading);
    font-weight: 600;
}

.market-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.market-hero__points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--theme-color-text-muted);
    font-size: 0.925rem;
    font-weight: 500;
}

.market-hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.market-hero__points .icon { color: var(--theme-color-success); }

/* Services ------------------------------------------------------------------------------------------------ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.service {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--theme-color-border);
    border-radius: var(--theme-radius-lg);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service:hover {
    border-color: rgba(var(--theme-color-primary-rgb), 0.35);
    box-shadow: var(--theme-shadow-md);
    transform: translateY(-2px);
}

.service__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(var(--theme-color-primary-rgb), 0.1);
    color: var(--theme-color-primary);
}

.service__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.service__text {
    flex: 1;
    margin: 0 0 1rem;
    color: var(--theme-color-text-muted);
    font-size: 0.925rem;
}

.service__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--theme-color-border);
    font-size: 0.825rem;
}

.service__duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--theme-color-text-muted);
}

.service__tag {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(var(--theme-color-primary-rgb), 0.08);
    color: var(--theme-color-primary);
    font-weight: 600;
}

/* Pricing ------------------------------------------------------------------------------------------------- */
.market-pricing {
    background: var(--theme-color-surface-muted);
}

.pricing-grid {
    display: grid;
    gap: 1.5rem 1.25rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(min(var(--pricing-cols, 3), 2), minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(var(--pricing-cols, 3), minmax(0, 1fr)); }
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border: 1px solid var(--theme-color-border);
    border-radius: var(--theme-radius-lg);
    background: #fff;
}

.plan--featured {
    border: 2px solid var(--theme-color-primary);
    box-shadow: var(--theme-shadow-lg);
}

.plan__badge {
    position: absolute;
    top: 0;
    left: 50%;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--theme-color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.plan__name {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.plan__text {
    margin: 0 0 1.25rem;
    color: var(--theme-color-text-muted);
    font-size: 0.925rem;
}

.plan__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.35rem;
}

.plan__price strong {
    color: var(--theme-color-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.plan__price span {
    color: var(--theme-color-text-muted);
    font-size: 0.9rem;
}

.plan__duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.25rem;
    color: var(--theme-color-text-muted);
    font-size: 0.875rem;
}

.plan__features {
    display: grid;
    flex: 1;
    align-content: start;
    gap: 0.6rem;
    margin: 0 0 1.75rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--theme-color-border);
    list-style: none;
    font-size: 0.925rem;
}

.plan__features li {
    display: flex;
    gap: 0.5rem;
}

.plan__features .icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--theme-color-success);
}

.plan__button { width: 100%; }

.pricing-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    max-width: 760px;
    margin: 1.75rem auto 0;
    color: var(--theme-color-text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.pricing-note .icon { flex-shrink: 0; margin-top: 0.15rem; }

/* Steps --------------------------------------------------------------------------------------------------- */
.step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    padding: 1.5rem;
    border: 1px solid var(--theme-color-border);
    border-radius: var(--theme-radius-lg);
    background: #fff;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--theme-color-heading);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.step__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.step__text {
    margin: 0;
    color: var(--theme-color-text-muted);
    font-size: 0.925rem;
}

/* Why us -------------------------------------------------------------------------------------------------- */
.market-why {
    background: var(--theme-color-surface-muted);
}

.why {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 3rem; }
}

.why__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2.5rem;
    margin: 0 0 1.5rem;
}

.why__stat {
    display: flex;
    flex-direction: column-reverse;
}

.why__stat dt {
    color: var(--theme-color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.why__stat dd {
    margin: 0;
    background: var(--market-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.why__items {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .why__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.why__item {
    padding: 1.5rem;
    border: 1px solid var(--theme-color-border);
    border-radius: var(--theme-radius-lg);
    background: #fff;
}

/* Quote form ---------------------------------------------------------------------------------------------- */
.quote-form {
    display: grid;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--theme-color-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--theme-shadow-md);
}

.quote-form .mp-field { margin: 0; }

.quote-form__row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 576px) {
    .quote-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.quote-form__help {
    display: block;
    margin-top: 0.3rem;
    color: var(--theme-color-text-muted);
    font-size: 0.8rem;
}

.quote-form .mp-alert { margin: 0; }

.quote-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.quote-form__alt {
    margin: 0;
    color: var(--theme-color-text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* FAQ ----------------------------------------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq {
    border: 1px solid var(--theme-color-border);
    border-radius: var(--theme-radius-md);
    background: #fff;
}

.faq[open] { border-color: rgba(var(--theme-color-primary-rgb), 0.35); }

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    color: var(--theme-color-heading);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__icon {
    flex-shrink: 0;
    color: var(--theme-color-text-muted);
    transition: transform 0.2s;
}

.faq[open] .faq__icon { transform: rotate(180deg); }

.faq__answer {
    padding: 0 1.25rem 1.2rem;
    color: var(--theme-color-text-muted);
}

.faq-contact {
    margin: 1.5rem 0 0;
    color: var(--theme-color-text-muted);
    text-align: center;
}

.faq-contact a { font-weight: 600; }

/* Footer ----------------------------------------------------------------------------------------------- */
.site-footer {
    font-size: 0.925rem;
}
