/* =====================================================================
   ARQ+CDW · Extras compartidos (index.html y portafolio.html)
   - Variables de color (bordó institucional)
   - Formulario de contacto de 4 campos
   - Selector de idioma ES / EN
   - Servicios (sin imagen borrosa de fondo, abanico interactivo activo)
   - Footer arquitectónico estilizado de alta gama
   - Portafolio a todo el ancho con blur en verticales y ficha técnica
   ===================================================================== */

:root {
    /* Bordó / violáceo institucional */
    --cdw-accent: #6b1e2e;
    --cdw-accent-hover: #8a2a3d;
    --cdw-accent-soft: rgba(107, 30, 46, 0.08);
    --cdw-text: #1e1e1e;
    --cdw-text-2: #3a3a3a;
    --cdw-line: rgba(0, 0, 0, 0.12);
}

/* ---------------------------------------------------------------------
   1. Servicios: Quitar imagen difuminada de fondo (conservando el abanico)
   --------------------------------------------------------------------- */
.cdw-svc-bg {
    background-image: none !important;
    background-color: #ffffff !important;
}
.cdw-svc-bg::after {
    display: none !important;
}
.cdw-svc-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}
.cdw-svc-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
}

/* ---------------------------------------------------------------------
   2. Formulario de Contacto (Estética limpia y arquitectónica)
   --------------------------------------------------------------------- */
.cdw-contact-form {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    font-family: 'Jost', sans-serif;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 34px 30px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.cdw-cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cdw-cf-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.cdw-cf-field label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333333;
    margin: 0 0 6px;
}

.cdw-cf-field label .cdw-cf-req {
    color: var(--cdw-accent);
    margin-left: 2px;
}

.cdw-contact-form input,
.cdw-contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 16px !important;
    margin: 0 !important;
    background: #fbfbfb !important;
    color: #1e1e1e !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 2px !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.cdw-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.cdw-contact-form input::placeholder,
.cdw-contact-form textarea::placeholder {
    color: #9c9c9c;
    font-size: 13.5px;
}

.cdw-contact-form input:focus,
.cdw-contact-form textarea:focus {
    background: #ffffff !important;
    border-color: var(--cdw-accent) !important;
    box-shadow: 0 0 0 3px var(--cdw-accent-soft) !important;
}

.cdw-cf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.cdw-cf-btn {
    flex: 1 1 210px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 24px;
    cursor: pointer;
    border-radius: 2px;
    font-family: 'Jost', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transition: all .25s ease;
}

.cdw-cf-btn i {
    font-size: 17px;
}

.cdw-cf-btn:active {
    transform: translateY(1px);
}

.cdw-cf-btn--wa {
    background: var(--cdw-accent);
    color: #ffffff;
    border: 1px solid var(--cdw-accent);
    box-shadow: 0 4px 14px rgba(107, 30, 46, 0.22);
}

.cdw-cf-btn--wa:hover {
    background: var(--cdw-accent-hover);
    border-color: var(--cdw-accent-hover);
    box-shadow: 0 6px 18px rgba(107, 30, 46, 0.32);
    transform: translateY(-1px);
}

.cdw-cf-btn--mail {
    background: #ffffff;
    color: #1e1e1e;
    border: 1.5px solid #1e1e1e;
}

.cdw-cf-btn--mail:hover {
    background: #1e1e1e;
    color: #ffffff;
    transform: translateY(-1px);
}

.cdw-cf-legal {
    margin: 18px 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdw-cf-legal i {
    color: var(--cdw-accent);
    font-size: 14px;
    flex-shrink: 0;
}

.cdw-cf-status {
    margin: 12px 0 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cdw-accent);
    min-height: 1.2em;
}

.cdw-cf-status.is-error {
    color: #b00020;
}

@media (max-width: 600px) {
    .cdw-contact-form { padding: 24px 20px; }
    .cdw-cf-row { grid-template-columns: 1fr; gap: 0; }
    .cdw-cf-btn { flex-basis: 100%; }
}

/* ---------------------------------------------------------------------
   3. Footer Arquitectónico de Alta Gama (Estilizado de arki-footer-wrapper)
   --------------------------------------------------------------------- */
.arki-footer-wrapper {
    background-color: #0c0c0c !important;
    padding: 85px 0 65px !important;
    font-family: 'Jost', sans-serif !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.arki-footer-wrapper .arki-widget-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2.2px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: block !important;
}

.arki-footer-wrapper .textwidget {
    font-size: 14.5px !important;
    line-height: 1.8 !important;
    color: #b8b8b8 !important;
}

.arki-footer-wrapper .textwidget p {
    margin-bottom: 12px !important;
    color: #b8b8b8 !important;
}

.arki-footer-wrapper #div_997d_110,
.arki-footer-wrapper .cdw-p-3 {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #aaaaaa !important;
    margin: 22px 0 24px !important;
    max-width: 320px !important;
}

.arki-footer-wrapper #span_997d_20,
.arki-footer-wrapper .cdw-p-4 {
    font-size: 12.5px !important;
    color: #777777 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.6 !important;
    display: block !important;
}

/* Enlaces del Footer */
.arki-footer-wrapper a {
    color: #d6d6d6 !important;
    text-decoration: none !important;
    transition: all .25s ease !important;
}

.arki-footer-wrapper a:hover {
    color: #ffffff !important;
    padding-left: 2px;
}

.arki-footer-wrapper #text-2 .textwidget p a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
}

.arki-footer-wrapper #text-2 .textwidget i,
.arki-footer-wrapper .fa-instagram,
.arki-footer-wrapper .fa-facebook-f,
.arki-footer-wrapper .fa-whatsapp,
.arki-footer-wrapper .fa-linkedin {
    width: 22px !important;
    text-align: center !important;
    font-size: 16px !important;
    color: var(--cdw-accent) !important;
    transition: color .25s ease !important;
}

.arki-footer-wrapper #text-2 .textwidget a:hover i {
    color: #ffffff !important;
}

/* ---------------------------------------------------------------------
   4. Galería / Carta Abierta (lightGallery): Imagen completa a pantalla entera y ficha técnica
   --------------------------------------------------------------------- */
.lg-backdrop {
    background-color: #0c0c0c !important;
}

/* Fondo difuminado con la misma foto (destaca verticales sin recortarlas) */
.lg-outer::before {
    content: "";
    position: absolute;
    inset: -60px;
    background: var(--cdw-lg-bg, none) center / cover no-repeat;
    filter: blur(40px) brightness(0.35) saturate(1.1);
    transition: background-image .4s ease;
    z-index: 0;
}
.lg-outer .lg-inner,
.lg-outer .lg-toolbar,
.lg-outer .lg-actions,
.lg-outer .lg-sub-html,
.lg-outer .lg-thumb-outer {
    z-index: 2;
}

/* Imagen al máximo: sin paneles laterales */
.lg-outer .lg-img-wrap {
    padding: 8px 8px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lg-outer .lg-image {
    max-height: calc(100vh - 72px) !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Título y subtítulo: barra compacta inferior */
.lg-outer .lg-sub-html {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    color: #ffffff;
    padding: 18px 24px 16px;
    text-align: center;
    font-family: 'Jost', sans-serif;
}
.lg-outer .lg-sub-html h4 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 2px;
    line-height: 1.3;
}
.lg-outer .lg-sub-html .cdw-lg-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e6c9cf;
    display: inline-block;
    margin: 0 12px 0 0;
}
.lg-outer .lg-sub-html .cdw-lg-consulta {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 16px;
    font-size: 12px;
    color: #ffffff;
}

@media (max-width: 767px) {
    .lg-outer .lg-img-wrap { padding: 0 0 72px; }
    .lg-outer .lg-image { max-height: calc(100vh - 80px) !important; }
    .lg-outer .lg-sub-html { padding: 12px 14px; }
    .lg-outer .lg-sub-html h4 { font-size: 14px; }
}

/* ---------------------------------------------------------------------
   5. Selector de idioma ES / EN
   --------------------------------------------------------------------- */
.cdw-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.cdw-lang button {
    background: none;
    border: 0;
    padding: 4px 6px;
    cursor: pointer;
    color: #8a8a8a;
    font: inherit;
    letter-spacing: inherit;
    line-height: 1;
    transition: color .2s ease;
}

.cdw-lang button:hover {
    color: var(--cdw-text);
}

.cdw-lang button.is-active {
    color: var(--cdw-accent);
    font-weight: 700;
}

.cdw-lang .cdw-lang-sep {
    color: #c4c4c4;
}

.arki-main-menu-right-wrap .cdw-lang {
    float: left;
    margin: 0 18px 0 6px;
    height: 24px;
}

/* Móvil y tablet: ES | EN a la izquierda del menú hamburguesa */
.arki-mobile-menu-right {
    display: flex !important;
    align-items: center;
}
.arki-mobile-menu-right .cdw-lang {
    order: 0;
    float: none !important;
    margin: 0 14px 0 0;
}
.arki-mobile-menu-right .arki-mobile-menu {
    order: 1;
    float: none !important;
    margin: 0 !important;
}

/* ---------------------------------------------------------------------
   6. Diseño General: Acentos Bordó, Textos Más Oscuros y Legibilidad
   --------------------------------------------------------------------- */
.cdw-card-meta,
.filter-container .cdw-port-info .gdlr-core-portfolio-info,
.lg-toolbar .lg-icon:hover,
.lg-actions .lg-next:hover,
.lg-actions .lg-prev:hover,
.cdw-filter a.active,
.cdw-filter a:hover {
    color: var(--cdw-accent) !important;
}

.cdw-filter a.active,
.cdw-filter a:hover {
    background: var(--cdw-accent) !important;
    border-color: var(--cdw-accent) !important;
    color: #ffffff !important;
}

/* Oscurecer textos grises claros para mejorar la lectura */
.cdw-title-block p,
.cdw-slide-hint,
.cdw-p-3,
.cdw-p-6,
.gdlr-core-text-box-item p,
.cdw-bio p {
    color: #222222 !important;
}

/* ---------------------------------------------------------------------
   Reducción de espaciado innecesario entre textos (párrafos, títulos y listas)
   --------------------------------------------------------------------- */
p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    line-height: 1.55 !important;
}
p:last-child {
    margin-bottom: 0 !important;
}

.gdlr-core-text-box-item {
    padding-bottom: 14px !important;
}
.gdlr-core-text-box-item p {
    margin-bottom: 12px !important;
    line-height: 1.55 !important;
}

.cdw-bio p,
.gdlr-core-text-box-item-content p {
    text-align: justify;
    margin-bottom: 12px !important;
    line-height: 1.55 !important;
}
@media (max-width: 767px) {
    .cdw-bio p,
    .gdlr-core-text-box-item-content p {
        text-align: left;
    }
}

/* Nunca cortar palabras con guiones */
body, body * {
    -webkit-hyphens: manual !important;
    hyphens: manual !important;
    word-break: normal !important;
    overflow-wrap: normal;
}

/* Títulos con margen inferior compacto */
h1, h2, h3, h4, h5, h6, .gdlr-core-title-item-title {
    text-wrap: balance;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
}
.gdlr-core-title-item {
    padding-bottom: 14px !important;
}
.gdlr-core-title-item-caption {
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
}

/* Sección Trayectoria / Biografía de Claudio: quitar vacíos exagerados */
#div_997d_44 {
    padding-bottom: 16px !important;
}
#div_997d_45 {
    padding-bottom: 20px !important;
}
#div_997d_40 {
    margin-top: 40px !important;
}
#div_997d_43 {
    padding-top: 40px !important;
}

/* Lista de trayectoria: compactar separación entre ítems (de 25px a 8px) */
#li_997d_0, #li_997d_1, #li_997d_2, #li_997d_3, #li_997d_4, #li_997d_5 {
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}
#span_997d_10, #span_997d_11, #span_997d_12, #span_997d_13, #span_997d_14, #span_997d_15 {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Sección Nosotros: eliminar espaciados innecesarios */
#div_997d_6 {
    padding-right: 25px !important;
}
#div_997d_10 {
    padding-bottom: 10px !important;
}
#div_997d_14 {
    padding-top: 0px !important;
}
#div_997d_15 {
    padding-bottom: 0px !important;
}
#div_997d_16 {
    font-size: 17px !important;
}

/* Sección Exposiciones: títulos compactos */
#div_997d_54 {
    margin-bottom: 20px !important;
}
#div_997d_57 {
    padding-bottom: 8px !important;
}
#h3_997d_7 {
    margin-bottom: 4px !important;
}
#h3_997d_8 {
    margin-bottom: 0 !important;
    line-height: 1.35 !important;
}

/* Eliminar espaciadores vacíos y dobles saltos */
#div_997d_4 {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.gdlr-core-space-shortcode {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
br + br {
    display: none !important;
}

/* "Claudio Wertheim" siempre en una sola línea */
#h3_997d_6,
.cdw-bio-title {
    white-space: nowrap !important;
    font-size: clamp(18px, 2.2vw, 30px) !important;
    letter-spacing: 2px !important;
}

/* Ocultar divisores y barras decorativas superfluas */
.gdlr-core-divider-item,
.gdlr-core-title-item-title-divider,
.gdlr-core-title-item-title-side-border {
    display: none !important;
}

/* Botón "Ver todas las obras" destacado */
.cdw-i-12 {
    margin-top: 36px !important;
    padding: 20px 20px 40px !important;
}

.cdw-i-13 {
    display: inline-block !important;
    padding: 16px 38px !important;
    background-color: var(--cdw-accent) !important;
    color: #ffffff !important;
    border: 1px solid var(--cdw-accent) !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(107, 30, 46, 0.25) !important;
    transition: all 0.3s ease !important;
}

.cdw-i-13:hover {
    background-color: var(--cdw-accent-hover) !important;
    border-color: var(--cdw-accent-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 30, 46, 0.35) !important;
}

/* Botón en bio de Claudio */
#gdlr-core-button-id-13074 {
    border-color: var(--cdw-accent) !important;
    color: var(--cdw-accent) !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    transition: all 0.3s ease !important;
}

#gdlr-core-button-id-13074:hover {
    background-color: var(--cdw-accent) !important;
    color: #ffffff !important;
}

/* Fotografía de Claudio Wertheim entera, sin recortes */
#div_997d_42 {
    max-height: none !important;
    overflow: visible !important;
}
#div_997d_42 img {
    width: 100% !important;
    max-width: 470px;
    height: auto !important;
    object-fit: contain !important;
}

/* Bloque Claudio (separado de Servicios, primero tras la portada) */
#claudio.gdlr-core-pbf-wrapper {
    padding: 80px 0 40px !important;
}
@media (max-width: 767px) {
    #claudio.gdlr-core-pbf-wrapper { padding: 40px 0 20px !important; }
    #div_997d_40 { margin-left: 0 !important; }
}

/* Depuración fotográfica: foco en fachada y marquesina */
img[src*="jade-sucursal-luro"] {
    object-fit: cover !important;
    object-position: top center !important;
}

/* ---------------------------------------------------------------------
   7. Secciones: Muebles de autor
   --------------------------------------------------------------------- */
.cdw-section-wrap {
    padding: 85px 0 70px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.cdw-section-header {
    text-align: center;
    margin-bottom: 45px;
}
.cdw-section-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cdw-accent);
    margin-bottom: 8px;
}
.cdw-section-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 10px;
}
.cdw-section-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    max-width: 680px;
    margin: 0 auto;
}

/* Muebles de autor: tarjetas de referencia */
.cdw-ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cdw-ref-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform .35s ease, box-shadow .35s ease;
    border-radius: 2px;
}
.cdw-ref-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}
.cdw-ref-canvas {
    aspect-ratio: 4 / 3;
    background: #faf8f5;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.cdw-ref-canvas i {
    font-size: 42px;
    color: rgba(107, 30, 46, 0.35);
}
.cdw-ref-canvas span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(107, 30, 46, 0.55);
}
.cdw-ref-info {
    padding-top: 16px;
    text-align: center;
}
.cdw-ref-info h5 {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.cdw-ref-info span {
    font-size: 13px;
    color: #444444;
}

@media (max-width: 900px) {
    .cdw-ref-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cdw-section-wrap { padding: 60px 20px 50px; }
}
@media (max-width: 560px) {
    .cdw-ref-grid { grid-template-columns: 1fr; }
    .cdw-section-title { font-size: 22px; }
}

/* Exposiciones: tarjeta reservada para la 8ª muestra */
.cdw-exp-next { display: block; cursor: default; }
.cdw-exp-next-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 4 / 3;
    border: 1px dashed var(--cdw-accent);
    color: var(--cdw-accent);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.6;
}

/* Footer: 3 columnas alineadas y logo centrado al pie */
.cdw-footer .arki-footer-column .textwidget p {
    margin: 0 0 12px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #cfcfcf !important;
    max-width: none !important;
}
.cdw-footer .arki-footer-column .textwidget a { color: #ffffff; }
.cdw-footer .arki-footer-column .textwidget a:hover { color: #e6c9cf; }
.cdw-footer-redes {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cdw-footer-redes li {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
}
.cdw-footer-redes a {
    display: inline-flex;
    align-items: center;
}
.cdw-footer-redes i {
    width: 22px;
    margin-right: 12px;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
}
.cdw-footer-bottom {
    text-align: center;
    padding: 40px 20px 10px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cdw-footer-bottom img {
    display: block;
    width: 48px;
    height: auto;
    margin: 0 auto 16px;
}
.cdw-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #9a9a9a;
}

/* Títulos de servicios siempre en un solo renglón */
#h3_997d_3, #h3_997d_4, #h3_997d_5 {
    white-space: nowrap !important;
    font-size: clamp(16px, 1.6vw, 24px) !important;
}
@media (max-width: 767px) {
    #h3_997d_3, #h3_997d_4, #h3_997d_5 { font-size: clamp(15px, 4.6vw, 22px) !important; }
}

/* Filtro de portafolio: botones claros con cantidad; en móvil, una fila deslizable */
.filter ul.cdw-filter-bar {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: auto !important;
    max-width: 100%;
    margin: 0 auto 40px !important;
    padding: 0 !important;
    list-style: none;
}
.filter ul.cdw-filter-bar li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.filter ul.cdw-filter-bar li::before,
.filter ul.cdw-filter-bar li::after { display: none !important; }
.filter ul.cdw-filter-bar a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #222222 !important;
    font-family: 'Jost', sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter ul.cdw-filter-bar a::before,
.filter ul.cdw-filter-bar a::after { display: none !important; }
@media (hover: hover) {
    .filter ul.cdw-filter-bar a:hover {
        border-color: var(--cdw-accent);
        color: var(--cdw-accent) !important;
    }
}
.filter ul.cdw-filter-bar a.active,
.filter ul.cdw-filter-bar a.active:hover {
    background: var(--cdw-accent);
    border-color: var(--cdw-accent);
    color: #ffffff !important;
}
.cdw-filter-count {
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.07);
    text-align: center;
}
.filter ul.cdw-filter-bar a.active .cdw-filter-count {
    background: rgba(255, 255, 255, 0.22);
}
.filter ul.cdw-filter-bar .cdw-filter-jump a {
    border-style: dashed;
}

@media (max-width: 767px) {
    .filter ul.cdw-filter-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -20px 28px !important;
        padding: 2px 20px 6px !important;
        max-width: none;
    }
    .filter ul.cdw-filter-bar::-webkit-scrollbar { display: none; }
    .filter ul.cdw-filter-bar li { scroll-snap-align: start; flex: 0 0 auto; }
    .filter ul.cdw-filter-bar a { padding: 9px 15px !important; }
}

/* Títulos grandes en pantallas chicas */
@media (max-width: 480px) {
    #h3_997d_2, #h3_997d_7 {
        font-size: 28px !important;
        letter-spacing: 2px !important;
    }
}

/* Footer: email sin desbordes y columnas apiladas en tablet */
.cdw-footer a[href^="mailto"] { letter-spacing: 0; }
@media (max-width: 900px) {
    .cdw-footer .arki-footer-column {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px;
    }
}

/* Textos de columnas angostas (servicios) alineados a la izquierda: sin huecos de justificado */
.cdw-svc-card .gdlr-core-text-box-item-content p {
    text-align: left !important;
}

/* Email de la sección Contacto: que entre en columnas angostas */
#span_997d_19 a, #span_997d_19 {
    letter-spacing: 0 !important;
}
@media (max-width: 1024px) {
    #span_997d_19 a, #span_997d_19 { font-size: 15px !important; }
}

/* Servicios: en tablet, una tarjeta por fila para que el título respire */
@media (max-width: 900px) {
    #gdlr-core-wrapper-3 .gdlr-core-pbf-column {
        width: 100% !important;
        float: none !important;
    }
}

/* Contacto: bloque centrado — título e intro arriba, datos y formulario abajo */
#gdlr-core-wrapper-4 .gdlr-core-pbf-wrapper-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas:
        "head  head"
        "intro intro"
        "info  form";
    column-gap: 56px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto !important;
}
#gdlr-core-wrapper-4 .gdlr-core-pbf-wrapper-container::before,
#gdlr-core-wrapper-4 .gdlr-core-pbf-wrapper-container::after { display: none !important; }
#gdlr-core-wrapper-4 #contacto { position: absolute; }
#gdlr-core-wrapper-4 .gdlr-core-pbf-column {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}
#gdlr-core-column-75022 { grid-area: head; }
#gdlr-core-column-13227 { grid-area: intro; }
#gdlr-core-column-25034 { grid-area: info; }
#gdlr-core-column-26660 { grid-area: form; }

#gdlr-core-column-75022 .gdlr-core-title-item,
#gdlr-core-column-75022 .gdlr-core-title-item-title,
#div_997d_108 p {
    text-align: center !important;
}
#gdlr-core-column-75022 .gdlr-core-title-item { padding-bottom: 12px !important; }
#gdlr-core-column-75022 .gdlr-core-pbf-column-content-margin,
#gdlr-core-column-13227 .gdlr-core-pbf-column-content-margin,
#gdlr-core-column-25034 .gdlr-core-pbf-column-content-margin,
#gdlr-core-column-26660 .gdlr-core-pbf-column-content-margin {
    padding: 0 !important;
    margin: 0 !important;
}
#div_997d_108 p {
    max-width: 620px;
    margin: 0 auto 40px !important;
    letter-spacing: 0.5px !important;
}
#div_997d_104 { display: none !important; }

@media (max-width: 900px) {
    #gdlr-core-wrapper-4 .gdlr-core-pbf-wrapper-container {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "head" "intro" "info" "form";
        row-gap: 24px;
    }
    #gdlr-core-column-25034 { text-align: center; }
    #gdlr-core-column-25034 .gdlr-core-title-item,
    #gdlr-core-column-25034 .gdlr-core-icon-list-item { text-align: center !important; }
    #div_997d_108 p { margin-bottom: 0 !important; }
}
#h3_997d_19 { font-size: clamp(32px, 4.2vw, 56px) !important; }
#gdlr-core-column-75022 .gdlr-core-pbf-column-content-margin { padding-top: 80px !important; }
@media (max-width: 900px) {
    #gdlr-core-column-75022 .gdlr-core-pbf-column-content-margin { padding-top: 50px !important; }
}
#h3_997d_20 {
    font-size: clamp(22px, 2vw, 28px) !important;
    letter-spacing: 2px !important;
    line-height: 1.3 !important;
}
#span_997d_17, #span_997d_18, #span_997d_19 { letter-spacing: 0.3px !important; }
/* Título principal accesible junto a la portada gráfica del estudio. */
.cdw-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
