/* Directorio v3. Banda de marca, sede y ámbito separados, especialidades como
 * elementos y peso real para la acción de presupuesto. Solo carga en los
 * listados del directorio y después de los estilos del plugin y del tema.
 * Colores: logotipo y paleta documentados, sin tonos nuevos. Presencia en internet. */

body.wl-dir-v3.wl-brand {
    --w3-navy: #01274c;
    --w3-ink: #082c50;
    --w3-blue: #0565d7;
    --w3-cyan: #32c4f0;
    --w3-muted: #56687f;
    --w3-muted-soft: #56687f;
    --w3-soft: #f0f6fc;
    --w3-line: #dce6f0;
    --w3-line-2: #e3ecf6;
    --w3-tint-1: #ccd8e6;
    --w3-tint-2: #becfe0;
    --w3-tint-3: #acbfd5;
    --w3-rule: linear-gradient(90deg, #3cc8f4, #0086f2 34%, #8acb45 62%, #0782be);
    --w3-button: linear-gradient(135deg, #0669e3, #0062b9);
    --w3-shadow: 0 2px 10px rgb(8 44 80 / 6%);
}

body.wl-dir-v3.wl-brand .wl3-main { padding-top: 0; }
body.wl-dir-v3.wl-brand .wl3-main:has(.wl3-bottom) { padding-bottom: 0; }

/* Banda de marca a todo el ancho */
body.wl-dir-v3.wl-brand .wl3 > .wl-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: none;
    margin: 0 calc(50% - 50vw);
    padding: 34px max(20px, calc(50vw - 50%)) 58px;
    border: 0;
    border-radius: 0;
    background: var(--w3-navy);
    color: #fff;
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(880px 500px at 82% 0%, rgb(50 196 240 / 22%) 0%, rgb(8 134 242 / 8%) 46%, rgb(1 39 76 / 0%) 74%);
    pointer-events: none;
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro::after {
    content: "";
    display: block;
    position: absolute;
    inset: auto 0 0 0;
    width: auto;
    height: 6px;
    border: 0;
    border-radius: 0;
    background: var(--w3-rule);
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 22px;
    padding: 8px 16px 8px 11px;
    border: 1px solid rgb(50 196 240 / 32%);
    border-radius: 30px;
    background: rgb(50 196 240 / 10%);
    color: var(--w3-cyan);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-eyebrow::before {
    content: "";
    display: block;
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3cc8f4, #8acb45);
}
/* Migas de pan sobre fondo oscuro (listados, ficha y 404) */
body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 28px;
    padding: 0;
    color: var(--w3-tint-3);
    font-size: 13px;
    line-height: 1.45;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs a { color: var(--w3-tint-3); text-decoration: none; }
body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs a:hover { color: #fff; text-decoration: underline; }
body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs [aria-current] { color: #fff; font-weight: 600; }
body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs-sep { color: rgb(255 255 255 / 60%); }
body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs a:focus-visible { outline-color: var(--w3-cyan); }
body.wl-dir-v3.wl-brand .wl3-icon { flex: 0 0 auto; vertical-align: middle; }
body.wl-dir-v3.wl-brand .wl3-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

body.wl-dir-v3.wl-brand .wl3 > .wl-intro h1 {
    max-width: 1000px;
    margin: 0 0 22px;
    padding: 0;
    color: #fff;
    font-size: clamp(36px, 5.2vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-lugar { color: var(--w3-cyan); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    body.wl-dir-v3.wl-brand .wl3 .wl3-lugar {
        background: linear-gradient(98deg, #3cc8f4, #0086f2 48%, #8acb45);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}
@media (forced-colors: active) {
    body.wl-dir-v3.wl-brand .wl3 .wl3-lugar { background: none; color: inherit; }
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro > p:not(.wl-eyebrow) {
    max-width: 640px;
    margin: 0;
    padding: 0;
    color: var(--w3-tint-1);
    font-size: 18px;
    line-height: 1.6;
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-intro-text {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--w3-tint-2);
    font-size: 16px;
    line-height: 1.7;
}
body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-intro-text p { margin: 0 0 10px; padding: 0; color: inherit; }
body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-intro-text p:last-child { margin-bottom: 0; }
body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-intro-text a { color: var(--w3-cyan); }

body.wl-dir-v3.wl-brand .wl3 .wl3-band { margin-top: 32px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-ctas:last-child { margin-bottom: 0; }
body.wl-dir-v3.wl-brand .wl3 .wl3-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 11px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-cta:hover { border-color: rgb(255 255 255 / 50%); background: rgb(255 255 255 / 6%); color: #fff; }
body.wl-dir-v3.wl-brand .wl3 .wl3-cta--primary { border: 0; background: var(--w3-button); box-shadow: 0 14px 34px rgb(8 134 242 / 32%); }
body.wl-dir-v3.wl-brand .wl3 .wl3-cta--primary:hover { background: linear-gradient(135deg, #0560cf, #00539c); }
body.wl-dir-v3.wl-brand .wl3 .wl3-cta .wlb-icon { width: 18px; height: 18px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-cta:focus-visible { outline-color: var(--w3-cyan); }

body.wl-dir-v3.wl-brand .wl3 .wl3-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-stats li {
    margin: 0;
    padding: 20px 24px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 15px;
    background: rgb(255 255 255 / 5%);
}
body.wl-dir-v3.wl-brand .wl3 .wl3-stats strong {
    display: block;
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-stats span {
    display: block;
    margin-top: 9px;
    color: var(--w3-tint-3);
    font-size: 13px;
    line-height: 1.45;
}

/* Bloque que lleva a las landings con presupuesto múltiple (provincia y especialidad) */
body.wl-dir-v3.wl-brand .wl3 > .wl3-top { margin: 52px 0 0; scroll-margin-top: 24px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-top h2 {
    margin: 0 0 8px;
    color: var(--w3-ink);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.032em;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-group > p {
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--w3-muted-soft);
    font-size: 16px;
    line-height: 1.6;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links a {
    position: relative;
    overflow: hidden;
    padding: 21px 19px 17px;
    border: 1px solid var(--w3-line);
    border-radius: 13px;
    background: #fff;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links a::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #3cc8f4, #22a9e7);
}
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links li:nth-child(4n+2) a::before { background: linear-gradient(90deg, #0086f2, #0062b9); }
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links li:nth-child(4n+3) a::before { background: linear-gradient(90deg, #8acb45, #5ead45); }
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links li:nth-child(4n+4) a::before { background: linear-gradient(90deg, #22beea, #0789c8); }
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links a:hover { border-color: #b8cde3; background: #fff; box-shadow: 0 8px 24px rgb(8 44 80 / 8%); }
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links strong {
    color: var(--w3-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.012em;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-count { margin-top: 6px; color: var(--w3-muted); font-size: 12.5px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-more { margin-top: 12px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-more > summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 18px;
    border: 1.5px solid var(--w3-line);
    border-radius: 10px;
    background: #fff;
    color: var(--w3-blue);
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-more > summary::-webkit-details-marker { display: none; }
body.wl-dir-v3.wl-brand .wl3 .wl3-more > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
body.wl-dir-v3.wl-brand .wl3 .wl3-more > summary:hover { border-color: #9dbcdc; }
body.wl-dir-v3.wl-brand .wl3 .wl3-more[open] > summary { margin-bottom: 12px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-more[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
body.wl-dir-v3.wl-brand .wl3 .wl3-more-close,
body.wl-dir-v3.wl-brand .wl3 .wl3-more[open] .wl3-more-open { display: none; }
body.wl-dir-v3.wl-brand .wl3 .wl3-more[open] .wl3-more-close { display: inline; }

/* Filtros */
body.wl-dir-v3.wl-brand .wl3 > .wl-directory-layout { margin-top: 44px; }
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters {
    padding: 26px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--w3-shadow);
}
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters h2 {
    margin: 0 0 20px;
    color: var(--w3-ink);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.012em;
}
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters { gap: 16px; }
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters label {
    color: var(--w3-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters :is(input, select) {
    margin-top: 7px;
    min-height: 48px;
    padding: 0 13px;
    border: 1.5px solid var(--w3-line);
    border-radius: 9px;
    background-color: #fff;
    color: var(--w3-ink);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters select:not(:has(option[value=""]:checked)) {
    border-color: var(--w3-blue);
    background-color: var(--w3-soft);
    font-weight: 700;
}
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters button {
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    background: var(--w3-button);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgb(8 134 242 / 22%);
}
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters button:hover { background: linear-gradient(135deg, #0560cf, #00539c); }
body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters .wl-filters .wl-reset { color: var(--w3-muted); font-size: 13.5px; }

/* Cómo funciona el presupuesto múltiple */
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide {
    position: relative;
    margin: 0 0 30px;
    padding: 26px 30px 26px 34px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--w3-shadow);
    color: var(--w3-muted);
}
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, #3cc8f4, #0086f2);
}
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide .wl-eyebrow {
    margin: 0 0 6px;
    color: var(--w3-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
}
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide h2 {
    margin: 0 0 10px;
    color: var(--w3-ink);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.022em;
}
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide ol { gap: 12px 26px; margin: 16px 0; }
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide li { gap: 10px; color: var(--w3-ink); font-size: 13.5px; font-weight: 600; }
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide li::before {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--w3-soft);
    color: var(--w3-blue);
    font-size: 13px;
    font-weight: 800;
}
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide p { color: var(--w3-muted); font-size: 13px; line-height: 1.7; }
body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide strong { color: var(--w3-ink); }

/* Resultados */
body.wl-dir-v3.wl-brand .wl3 .wl-result-count {
    margin: 0 0 18px;
    padding: 0;
    color: var(--w3-ink);
    font-size: 15px;
    font-weight: 700;
    scroll-margin-top: 24px;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

body.wl-dir-v3.wl-brand .wl3 .wl-company-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    /* Filas de contenido a su altura; la última absorbe el hueco para alinear las acciones abajo. */
    grid-template-rows: repeat(6, auto) 1fr;
    align-items: start;
    gap: 0 16px;
    padding: 29px 24px 24px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--w3-shadow);
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #3cc8f4, #0062b9);
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:nth-child(4n+2)::before { background: linear-gradient(90deg, #8acb45, #5ead45); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:nth-child(4n+3)::before { background: linear-gradient(90deg, #22beea, #0789c8); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:nth-child(4n+4)::before { background: linear-gradient(90deg, #0877d7, #014d94); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:hover { border-color: transparent; box-shadow: 0 8px 26px rgb(8 44 80 / 10%); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card.is-selected {
    background: #fff;
    box-shadow: 0 10px 30px rgb(5 101 215 / 16%), 0 0 0 1.5px var(--w3-blue);
}
/* Logo, nombre y sede arriba; ámbito, especialidades, texto y acciones a todo el ancho de la tarjeta. */
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div { display: contents; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div > * { grid-column: 1 / -1; margin: 14px 0 0; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div > h2 { grid-column: 2; grid-row: 1; align-self: end; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div > .wl-location { grid-column: 2; grid-row: 2; align-self: start; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div > .wl3-ambito { margin-top: 16px; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div > .wl-company-actions { grid-row: 7; align-self: end; margin-top: 18px; }

body.wl-dir-v3.wl-brand .wl3 .wl-company-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 6px;
    border: 1px solid var(--w3-line-2);
    border-radius: 14px;
    background: #fff;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-logo img { width: 100%; height: 100%; object-fit: contain; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: linear-gradient(135deg, #0877d7, #014d94);
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:nth-child(4n+2) .wl-company-initial { background: linear-gradient(135deg, #0086f2, #0062b9); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:nth-child(4n+3) .wl-company-initial { background: linear-gradient(135deg, #0789c8, #014d94); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card:nth-child(4n+4) .wl-company-initial { background: linear-gradient(135deg, #0669e3, #01274c); }

body.wl-dir-v3.wl-brand .wl3 .wl-company-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.022em;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-card h2 a { color: var(--w3-ink); text-decoration: none; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card h2 a:hover { color: var(--w3-blue); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card .wl-location {
    margin: 3px 0 0;
    color: var(--w3-muted);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-ambito {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--w3-soft);
    color: var(--w3-blue);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-ambito svg { flex: 0 0 auto; }
body.wl-dir-v3.wl-brand .wl3 .wl3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    list-style: none;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-tags li {
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #e6eef7;
    border-radius: 8px;
    background: #f6f9fc;
    color: #3d5a7d;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-card > div > p:not([class]) {
    margin-bottom: 0;
    color: var(--w3-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Acción principal: añadir al presupuesto */
body.wl-dir-v3.wl-brand .wl3 .wl-company-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 9px;
    margin-top: 18px;
    padding: 0;
    border: 0;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-select {
    order: -1;
    flex: 1 1 210px;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    margin: 0;
    padding: 0 14px;
    border: 1.5px solid var(--w3-line);
    border-radius: 10px;
    background: #fff;
    color: var(--w3-ink) !important;
    font-size: 13.5px !important;
    font-weight: 700;
    line-height: 1.3;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-select:hover { border-color: #9dbcdc; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-select input { width: 18px; height: 18px; margin: 0; accent-color: var(--w3-blue); }
body.wl-dir-v3.wl-brand .wl3 .wl-company-select:has(input:checked) {
    border-color: var(--w3-blue);
    background: var(--w3-soft);
    color: var(--w3-blue) !important;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-select:has(:focus-visible) { outline: 3px solid var(--wl-focus, #0565d7); outline-offset: 3px; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-select[hidden] { display: none !important; }
body.wl-dir-v3.wl-brand .wl3 .wl-company-card .wl-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #f6f9fc;
    color: var(--w3-ink);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3 .wl-company-card .wl-link:hover { background: #e9f1fa; color: var(--w3-blue); text-decoration: none; }

/* Paginación */
body.wl-dir-v3.wl-brand .wl3 .wl-pagination { margin: 30px 0 0; }
body.wl-dir-v3.wl-brand .wl3 .wl-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.wl-dir-v3.wl-brand .wl3 .wl-pagination :is(a.page-numbers, span.page-numbers) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 4px rgb(8 44 80 / 6%);
    color: var(--w3-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3 .wl-pagination a.page-numbers:hover { background: var(--w3-soft); color: var(--w3-blue); }
body.wl-dir-v3.wl-brand .wl3 .wl-pagination span.page-numbers.current { background: var(--w3-navy); color: #fff; font-weight: 700; }
body.wl-dir-v3.wl-brand .wl3 .wl-pagination span.page-numbers.dots { background: transparent; box-shadow: none; }

/* Barra de selección y formulario */
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar {
    bottom: 24px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0 20px;
    max-width: 920px;
    padding: 18px 22px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    background: var(--w3-ink);
    box-shadow: 0 20px 56px rgb(1 39 76 / 42%);
}
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 5px;
    height: 42px;
    border-radius: 3px;
    background: linear-gradient(180deg, #3cc8f4, #8acb45);
}
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar > div { grid-column: 2; grid-row: 1; }
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar strong { color: #fff; font-size: 16.5px; font-weight: 800; line-height: 1.35; }
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar div > span { color: var(--w3-tint-3); font-size: 13px; }
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar button.wl-selection-review {
    grid-column: 3;
    grid-row: 1;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #3cc8f4, #22a9e7);
    box-shadow: none;
    color: var(--w3-navy) !important;
    font-size: 15px;
    font-weight: 800;
}
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar button.wl-selection-review:hover { background: linear-gradient(135deg, #5fd3f6, #32c4f0); }
body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar .wl-selection-status { grid-column: 2 / -1; grid-row: 2; margin: 8px 0 0; color: #d6e4f2; font-size: 12.5px; }
body.wl-dir-v3.wl-brand .wl3 .wl-multiple-panel { border: 0; border-radius: 18px; box-shadow: var(--w3-shadow); }
body.wl-dir-v3.wl-brand .wl3 .wl-multiple .wl-quote-form h2 { color: var(--w3-ink); font-weight: 800; letter-spacing: -.022em; }
body.wl-dir-v3.wl-brand .wl3 .wl-quote-form button[type=submit] {
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 10px;
    background: var(--w3-button);
    font-size: 15px;
    font-weight: 700;
}

/* Cierre a todo el ancho: especialidades y provincias relacionadas */
body.wl-dir-v3.wl-brand .wl3 > .wl3-bottom {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 64px calc(50% - 50vw) 0;
    padding: 62px max(20px, calc(50vw - 50%)) 64px;
    border: 0;
    background: var(--w3-navy);
    color: #fff;
}
body.wl-dir-v3.wl-brand .wl3 > .wl3-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(700px 420px at 12% 110%, rgb(50 196 240 / 20%) 0%, rgb(1 39 76 / 0%) 70%);
}
body.wl-dir-v3.wl-brand .wl3 > .wl3-bottom::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: var(--w3-rule);
}
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-group + .wl-landing-group { margin-top: 48px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.03em;
}
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-group > p { max-width: 720px; margin: 0 0 8px; color: var(--w3-tint-2); font-size: 15px; }
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px !important; }
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px 46px 17px 20px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 14px;
    background: rgb(255 255 255 / 6%);
}
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 21px;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--w3-cyan);
    border-right: 2px solid var(--w3-cyan);
    transform: translateY(-50%) rotate(45deg);
}
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links a:hover { border-color: rgb(50 196 240 / 45%); background: rgb(255 255 255 / 11%); }
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links a:focus-visible { outline-color: var(--w3-cyan); }
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links strong { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-count { margin-top: 4px; color: var(--w3-tint-3); font-size: 12.5px; }

/* ---------------------------------------------------------------------
 * Ficha de empresa
 * ------------------------------------------------------------------ */
body.wl-dir-v3.wl-brand .wl3--company { max-width: 1260px; }
body.wl-dir-v3.wl-brand .wl3--company > .wl3-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block;
    margin: 0 calc(50% - 50vw) 40px;
    padding: 34px max(20px, calc(50vw - 50%)) 54px;
    border: 0;
    border-radius: 0;
    background: var(--w3-navy);
    color: #fff;
}
body.wl-dir-v3.wl-brand .wl3--company > .wl3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: radial-gradient(880px 500px at 82% 0%, rgb(50 196 240 / 22%) 0%, rgb(8 134 242 / 8%) 46%, rgb(1 39 76 / 0%) 74%);
    pointer-events: none;
}
body.wl-dir-v3.wl-brand .wl3--company > .wl3-hero::after {
    content: "";
    display: block;
    position: absolute;
    inset: auto 0 0 0;
    width: auto;
    height: 6px;
    border: 0;
    border-radius: 0;
    background: var(--w3-rule);
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-hero-main { display: flex; align-items: center; gap: 28px; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-logo {
    display: flex;
    flex: 0 0 116px;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgb(0 0 0 / 22%);
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-logo img.wl-logo {
    flex: none;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    object-fit: contain;
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-logo--initial {
    background: linear-gradient(135deg, #0086f2, #0062b9);
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-hero-text { min-width: 0; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 16px;
    padding: 7px 15px 7px 10px;
    border: 1px solid rgb(50 196 240 / 32%);
    border-radius: 30px;
    background: rgb(50 196 240 / 10%);
    color: var(--w3-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl-eyebrow::before {
    content: "";
    display: block;
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3cc8f4, #8acb45);
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-hero h1 {
    margin: 0 0 18px;
    padding: 0;
    color: #fff;
    font-size: clamp(32px, 4.4vw, 58px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-facts li { margin: 0; padding: 0; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 6px 15px 6px 12px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 30px;
    background: rgb(255 255 255 / 6%);
    color: var(--w3-tint-1);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-fact .wl3-icon { color: var(--w3-cyan); }
body.wl-dir-v3.wl-brand .wl3--company a.wl3-fact:hover { border-color: rgb(50 196 240 / 55%); background: rgb(255 255 255 / 10%); color: #fff; }
body.wl-dir-v3.wl-brand .wl3--company a.wl3-fact:focus-visible { outline-color: var(--w3-cyan); }
body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl3-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-cta .wl3-icon { width: 18px; height: 18px; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-cta-detail { font-weight: 600; font-variant-numeric: tabular-nums; }

body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section {
    margin: 0 0 20px;
    padding: 30px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--w3-shadow);
    scroll-margin-top: 24px;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section h2 {
    margin: 0 0 18px;
    padding: 0;
    color: var(--w3-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-description p { color: #3d5572; font-size: 16px; line-height: 1.8; }
body.wl-dir-v3.wl-brand .wl3--company .wl3-section-intro { margin: -8px 0 18px; padding: 0; color: var(--w3-muted); font-size: 14.5px; line-height: 1.6; }
body.wl-dir-v3.wl-brand .wl3--company .wl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid var(--w3-line);
    border-radius: 30px;
    background: #fff;
    color: var(--w3-ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-chips a:hover { border-color: var(--w3-blue); background: var(--w3-soft); color: var(--w3-blue); }
body.wl-dir-v3.wl-brand .wl3--company #wl3-actividad .wl-chips a::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3cc8f4, #0062b9);
}
body.wl-dir-v3.wl-brand .wl3--company .wl3-more > .wl-chips { margin-top: 0; }

body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links a {
    position: relative;
    overflow: hidden;
    padding: 19px 18px 15px;
    border: 1px solid var(--w3-line);
    border-radius: 13px;
    background: #fff;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links a::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #3cc8f4, #22a9e7);
}
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links li:nth-child(4n+2) a::before { background: linear-gradient(90deg, #0086f2, #0062b9); }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links li:nth-child(4n+3) a::before { background: linear-gradient(90deg, #8acb45, #5ead45); }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links li:nth-child(4n+4) a::before { background: linear-gradient(90deg, #22beea, #0789c8); }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links a:hover { border-color: #b8cde3; background: #fff; box-shadow: 0 8px 24px rgb(8 44 80 / 8%); }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links strong { color: var(--w3-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-count { margin-top: 5px; color: var(--w3-muted); font-size: 12.5px; }

body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid article { padding: 12px; border: 1px solid var(--w3-line); border-radius: 14px; background: #fff; }
body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid article:hover { border-color: #b8cde3; box-shadow: 0 8px 24px rgb(8 44 80 / 8%); }
body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid a { display: block; color: var(--w3-ink); text-decoration: none; }
body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid img { width: 100%; height: 150px; padding: 10px; border-radius: 10px; background: #f6f9fc; object-fit: contain; }
body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid h3 { margin: 12px 4px 4px; padding: 0; color: var(--w3-ink); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > nav:not([class]) { margin-top: 18px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > nav:not([class]) :is(a.page-numbers, span.page-numbers) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0 6px 6px 0;
    padding: 0 12px;
    border: 1px solid var(--w3-line);
    border-radius: 10px;
    background: #fff;
    color: var(--w3-ink);
    font-weight: 600;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > nav:not([class]) span.page-numbers.current { border-color: var(--w3-navy); background: var(--w3-navy); color: #fff; }

body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > ul:not([class]) { margin: 0; padding: 0; list-style: none; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > ul:not([class]) li { margin: 0; padding: 0; border-top: 1px solid var(--w3-line-2); }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > ul:not([class]) li:first-child { border-top: 0; }
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > ul:not([class]) a {
    position: relative;
    display: block;
    padding: 14px 34px 14px 0;
    color: var(--w3-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > ul:not([class]) a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--w3-blue);
    border-right: 2px solid var(--w3-blue);
    transform: translateY(-50%) rotate(45deg);
}
body.wl-dir-v3.wl-brand .wl3--company .wl-company-section > ul:not([class]) a:hover { color: var(--w3-blue); }

body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout > .wl-contact {
    position: relative;
    overflow: hidden;
    padding: 32px 28px 28px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgb(8 44 80 / 10%);
    color: var(--w3-ink);
}
body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout > .wl-contact::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--w3-rule);
}
body.wl-dir-v3.wl-brand .wl3--company .wl-contact :is(h2, h3) { margin: 0 0 18px; color: var(--w3-ink); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact > p { margin: 0 0 14px; padding: 0; color: #3d5572; font-size: 15px; line-height: 1.55; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl3-row { display: flex; align-items: flex-start; gap: 12px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl3-row .wl3-icon { margin-top: 1px; color: var(--w3-blue); }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact a { color: var(--w3-blue); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact a:hover { color: var(--w3-navy); text-decoration: underline; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact #solicitar-presupuesto { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--w3-line); scroll-margin-top: 24px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form label { color: var(--w3-ink); font-size: 13px; font-weight: 700; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form :is(input:not([type="checkbox"]):not([type="hidden"]), textarea) {
    min-height: 48px;
    margin-top: 6px;
    padding: 11px 13px;
    border: 1.5px solid var(--w3-line);
    border-radius: 9px;
    background: #fff;
    color: var(--w3-ink);
    color-scheme: light;
    font-size: 15px;
}
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form :is(input, textarea):focus { border-color: var(--w3-blue); }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form label:has(input[type="checkbox"]) { font-weight: 500; line-height: 1.5; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form .wl-form-privacy { color: var(--w3-muted); font-size: 12.5px; }
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form button[type="submit"] {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    background: var(--w3-button);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgb(8 134 242 / 22%);
}
body.wl-dir-v3.wl-brand .wl3--company .wl-contact .wl-quote-form .wl-quote-feedback { color: var(--w3-ink); }
body.wl-dir-v3.wl-brand.wl-dir-v3-company .wl-company-quote-shortcut {
    border: 0;
    border-radius: 12px;
    background: var(--w3-button);
    box-shadow: 0 14px 34px rgb(1 39 76 / 35%);
    font-weight: 800;
}

/* ---------------------------------------------------------------------
 * Página 404
 * ------------------------------------------------------------------ */
body.wl-dir-v3.wl-brand .wl3--404 > .wl3-search {
    margin: 48px 0 0;
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--w3-shadow);
}
body.wl-dir-v3.wl-brand .wl3--404 .wl3-search h2 { margin: 0 0 18px; padding: 0; color: var(--w3-ink); font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
body.wl-dir-v3.wl-brand .wl3--404 .wl3-search-form { position: static; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.wl-dir-v3.wl-brand .wl3--404 .wl3-search-form .wl-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 18px; }
body.wl-dir-v3.wl-brand .wl3--404 .wl3-search-form .wl-filters .wl-reset { display: none; }
body.wl-dir-v3.wl-brand .wl3--404 > .wl3-top { margin-top: 48px; }
body.wl-dir-v3.wl-brand.wl-dir-v3-404 .wl3-main { padding-bottom: 80px; }

@media (max-width: 1180px) {
    body.wl-dir-v3.wl-brand .wl3 .wl-company-grid { grid-template-columns: minmax(0, 1fr); }
    body.wl-dir-v3.wl-brand .wl3 .wl3-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links,
    body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout > .wl-contact { margin-top: 4px; }
    body.wl-dir-v3.wl-brand .wl3--404 .wl3-search-form .wl-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    body.wl-dir-v3.wl-brand .wl3 > .wl-intro { padding-top: 22px; padding-bottom: 30px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-crumbs { margin-bottom: 18px; font-size: 12px; }
    body.wl-dir-v3.wl-brand .wl3--company > .wl3-hero { margin-bottom: 24px; padding-top: 22px; padding-bottom: 32px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero-main { flex-direction: column; align-items: flex-start; gap: 14px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-logo { flex-basis: auto; width: 64px; height: 64px; padding: 8px; border-radius: 14px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-logo--initial { font-size: 30px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl-eyebrow { display: none; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero h1 { margin-bottom: 12px; font-size: 30px; line-height: 1.08; letter-spacing: -.035em; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-facts { gap: 6px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-fact { min-height: 34px; padding: 5px 12px 5px 10px; font-size: 12.5px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl3-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl3-cta { justify-content: center; width: 100%; min-height: 50px; padding: 0 12px; font-size: 14px; text-align: center; overflow-wrap: anywhere; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl3-cta--primary,
    body.wl-dir-v3.wl-brand .wl3--company .wl3-hero .wl3-cta:nth-child(2):last-child { grid-column: 1 / -1; font-size: 16px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl3-cta-verb { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body.wl-dir-v3.wl-brand .wl3--company .wl-company-section { margin-bottom: 14px; padding: 22px 18px; border-radius: 14px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl-company-section h2 { font-size: 20px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl-company-section .wl-landing-links { grid-template-columns: minmax(0, 1fr); }
    body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    body.wl-dir-v3.wl-brand .wl3--company .wl-product-grid img { height: 120px; }
    body.wl-dir-v3.wl-brand .wl3--company > .wl-company-layout > .wl-contact { padding: 26px 18px 22px; border-radius: 14px; }
    body.wl-dir-v3.wl-brand .wl3--404 > .wl3-search { margin-top: 30px; padding: 22px 18px; border-radius: 14px; }
    body.wl-dir-v3.wl-brand .wl3--404 .wl3-search-form .wl-filters { grid-template-columns: minmax(0, 1fr); }

    body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-eyebrow { margin-bottom: 16px; padding: 7px 13px 7px 9px; font-size: 10px; letter-spacing: .12em; }
    body.wl-dir-v3.wl-brand .wl3 > .wl-intro h1 { margin-bottom: 14px; font-size: 34px; line-height: 1.08; letter-spacing: -.035em; }
    body.wl-dir-v3.wl-brand .wl3 > .wl-intro > p:not(.wl-eyebrow) { font-size: 15px; line-height: 1.55; }
    body.wl-dir-v3.wl-brand .wl3 > .wl-intro .wl-intro-text { font-size: 14.5px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-band { margin-top: 20px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-ctas { flex-direction: column; gap: 10px; margin-bottom: 22px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-cta { justify-content: center; min-height: 52px; width: 100%; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 18px;
        border-top: 1px solid rgb(255 255 255 / 14%);
    }
    body.wl-dir-v3.wl-brand .wl3 .wl3-stats li { padding: 0; border: 0; background: none; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-stats li:nth-child(n+4) { display: none; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-stats strong { font-size: 26px; letter-spacing: -.035em; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-stats span { margin-top: 5px; font-size: 11px; line-height: 1.35; }

    body.wl-dir-v3.wl-brand .wl3 > .wl3-top { margin-top: 34px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-group > p { font-size: 14.5px; margin-bottom: 18px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links,
    body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links a { padding: 18px 14px 14px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-top .wl-landing-links strong { font-size: 14.5px; }

    body.wl-dir-v3.wl-brand .wl3 > .wl-directory-layout { margin-top: 22px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-directory-filters { margin-bottom: 18px; padding: 0; border: 0; background: transparent; box-shadow: none; }
    body.wl-dir-v3.wl-brand .wl3 .wl-filter-panel > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 50px;
        padding: 0 16px;
        border: 1px solid var(--w3-tint-1);
        border-radius: 10px;
        background: #fff;
        color: var(--w3-ink);
        font-size: 14.5px;
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }
    body.wl-dir-v3.wl-brand .wl3 .wl-filter-panel > summary::-webkit-details-marker { display: none; }
    body.wl-dir-v3.wl-brand .wl3 .wl-filter-panel > summary::after {
        content: "";
        width: 9px;
        height: 9px;
        margin-top: -4px;
        border-right: 2px solid var(--w3-blue);
        border-bottom: 2px solid var(--w3-blue);
        transform: rotate(45deg);
    }
    body.wl-dir-v3.wl-brand .wl3 .wl-filter-panel[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
    body.wl-dir-v3.wl-brand .wl3 .wl-filter-panel[open] > .wl-filters {
        margin-top: 10px;
        padding: 18px;
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--w3-shadow);
    }

    body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide { padding: 20px 18px 20px 24px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-quote-guide h2 { font-size: 19px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-company-card { grid-template-columns: 52px minmax(0, 1fr); gap: 0 13px; padding: 22px 16px 16px; border-radius: 14px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-company-logo { flex-basis: 52px; width: 52px; height: 52px; min-height: 52px; margin: 0; border-radius: 11px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-company-initial { font-size: 21px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-company-card h2 { font-size: 16.5px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-company-actions { flex-direction: column; }
    body.wl-dir-v3.wl-brand .wl3 .wl-company-select,
    body.wl-dir-v3.wl-brand .wl3 .wl-company-card .wl-link { flex: 0 0 auto; width: 100%; min-height: 48px; }

    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar { bottom: 14px; gap: 0 13px; width: calc(100% - 24px); padding: 14px 16px; border-radius: 13px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar::before { width: 4px; height: 34px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar strong { font-size: 14px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar div > span { font-size: 11.5px; }
    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar button.wl-selection-review { min-height: 44px; padding: 0 16px; font-size: 13.5px; }

    body.wl-dir-v3.wl-brand .wl3 > .wl3-bottom { margin-top: 44px; padding-top: 42px; padding-bottom: 46px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links a { padding: 15px 36px 15px 16px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links a::after { right: 15px; }
    body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links strong { font-size: 14.5px; }
}

@media (max-width: 420px) {
    body.wl-dir-v3.wl-brand .wl3 .wl3-bottom .wl-landing-links { grid-template-columns: minmax(0, 1fr); }
    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar div > span { display: none; }
    body.wl-dir-v3.wl-brand .wl3 .wl-selection-bar strong { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
    body.wl-dir-v3.wl-brand .wl3 * { transition: none !important; }
}
