/* Solo excepciones que no resuelven los controles nativos de Elementor. */
.dr-copy p { margin-block: 0; }
.dr-copy a { color: inherit; }
.dr-image img { display: block; }
.dr-image a { display: block; }
.dr-decoration { pointer-events: none; }
.dr-mobile-break { display: none; }
.dr-site .dr-image.dr-decoration[class] { max-width: none; }
.dr-zoom-image img { transition: transform var(--dr-swap-zoom-duration,1.2s) cubic-bezier(.2,.7,.2,1); }
.dr-zoom-image:hover img { transform: scale(1.05); }
.dr-hero-image img { animation: dr-hero-settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes dr-hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.dr-reveal40 { animation-name: dr-reveal40; animation-duration: .9s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
@keyframes dr-reveal40 { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.dr-hero-enter { animation-name: dr-hero-enter; animation-duration: 1s; animation-timing-function: ease; }
@keyframes dr-hero-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.dr-swap-second img { transform: scale(1.03); transition: transform var(--dr-swap-zoom-duration,1.2s) ease; }
.dr-swap:hover .dr-swap-second img, .dr-swap:focus-within .dr-swap-second img { transform: scale(1); }
.dr-image-light img { filter: brightness(0) invert(1); }
.dr-swap-second { opacity: 0; transition: opacity var(--dr-swap-fade-duration,.6s) ease; pointer-events: none; }
.dr-swap:hover .dr-swap-second, .dr-swap:focus-within .dr-swap-second { opacity: 1; }
.dr-header { transition: background .35s ease, padding .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.dr-site.dr-home .dr-header:not(.is-light) { --padding-top: 53px; --padding-bottom: 53px; }
.dr-overlay-menu a:hover, .dr-overlay-menu a:focus-visible { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.dr-header.is-hidden { transform: translateY(-110%); }
.dr-header.is-light { background: color-mix(in srgb, var(--e-global-color-dr_white) 97%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--e-global-color-text) 8%, transparent); }
/* El estado sobre el hero depende de la cabecera; el hover sigue siendo nativo. */
.dr-site.dr-home .dr-header:not(.is-light) .dr-header-professionals a:not(:hover):not(:focus) { color: var(--e-global-color-dr_white); }
.dr-logo-dark, .dr-logo-white { transition: opacity .3s; }
.dr-logo-white { opacity: 0; visibility: hidden; }
.dr-home .dr-logo-dark { opacity: 0; visibility: hidden; }
.dr-home .dr-logo-white { opacity: 1; visibility: visible; }
.dr-home .dr-header.is-light .dr-logo-dark { opacity: 1; visibility: visible; }
.dr-home .dr-header.is-light .dr-logo-white { opacity: 0; visibility: hidden; }
.dr-menu-trigger a { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.dr-menu-trigger a:focus-visible, .dr-copy a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.dr-menu-overlay .dr-copy a, .dr-footer .dr-copy a { text-decoration: none; }
.dr-menu-overlay .dr-copy a:hover, .dr-footer .dr-copy a:hover { text-decoration: underline; }
.dr-page-content { overflow-x: clip; }
.dr-site .dr-contact-form input:not([type="checkbox"]):not([type="hidden"]), .dr-site .dr-contact-form select { height: 56px; min-height: 0; padding: 0 0 4px; }
.dr-site .dr-contact-form textarea { min-height: 0; padding: 0 0 20px; resize: none; }
.dr-site .dr-contact-form.dr-form-long-message textarea { padding-bottom: 11px; }
.dr-site .dr-contact-form input[type="checkbox"] { width: 15px; height: 15px; margin: 0 12px 0 0; vertical-align: middle; }
.dr-site .dr-page-content .dr-contact-form:is(.dr-form-short-message,.dr-form-long-message) .dr-form-privacy + label { font-size: 13px; line-height: 20px; }
.dr-site .dr-page-content .dr-contact-form div:has(> .dr-form-client-choice) { margin-top: -6px; }
.dr-site .dr-page-content .dr-contact-form div:has(> .dr-form-delivery) { margin-top: -3px; }
.dr-site .dr-page-content .dr-contact-form form > div > div:has(.dr-form-privacy) { font-size: 13px; line-height: 20px; margin-top: -2px; margin-bottom: 22px; }
.dr-site .dr-contact-form .dr-form-client-choice::before { content: ""; background-image: var(--dr-select-arrow); background-size: contain; background-repeat: no-repeat; width: 20px; height: 12px; left: 138px; right: auto; top: 9px; transform: none; }
@media (min-width: 768px) and (max-width: 1024px) { .dr-site.dr-home .dr-header:not(.is-light) { --padding-top: 25px; --padding-bottom: 25px; } }
@media (max-width: 767px) {
 .dr-site.dr-home .dr-header:not(.is-light) { --padding-top: 16px; --padding-bottom: 10px; }
 .dr-desktop-break { display: none; }
 .dr-mobile-break { display: initial; }
 .dr-footer-contact-gap { display: block; height: 15px; }
 .dr-overlay-menu a:hover, .dr-overlay-menu a:focus-visible { text-underline-offset: 5px; }
 .dr-site .dr-contact-form input:not([type="checkbox"]):not([type="hidden"]), .dr-site .dr-contact-form select { height: 31px; padding: 0 0 2px; }
 .dr-site .dr-contact-form textarea { padding: 0 0 3px; }
 .dr-site .dr-contact-form .dr-form-client-choice::before { left: auto; right: 0; top: 0; }
 .dr-site .dr-page-content .dr-contact-form:is(.dr-form-short-message,.dr-form-long-message) .dr-form-privacy + label { font-size: 11px; line-height: 15px; }
 .dr-site .dr-page-content .dr-contact-form div:has(> .dr-form-client-choice), .dr-site .dr-page-content .dr-contact-form div:has(> .dr-form-delivery) { margin-top: 0; }
 .dr-site .dr-page-content .dr-contact-form form > div > div:has(.dr-form-privacy) { font-size: 11px; line-height: 15px; margin-top: 7px; margin-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) {
 .dr-header, .dr-logo-dark, .dr-logo-white, .dr-swap-second, .dr-zoom-image img { transition: none; }
 .dr-zoom-image:hover img { transform: none; }
 .dr-hero-image img { animation: none; }
 .dr-page-content .dr-reveal { animation: none; visibility: visible; }
 .dr-reveal40, .dr-hero-enter { animation: none; visibility: visible; }
}

/* Distribución del encabezado de pestañas y pictogramas por fila: no existe control nativo por elemento. */
.dr-product-tabs > div > div[role="tablist"] { padding-inline: 60px; }
.dr-full-width-tabs > div > div[role="tablist"] { width: 100%; max-width: var(--container-max-width, 1400px); margin-inline: auto; }
.dr-product-tabs button[role="tab"][data-tab-index="1"] { width: 148px; }
.dr-product-tabs button[role="tab"][data-tab-index="2"] { width: 205px; }
.dr-accordion-pictogram { display: inline-block; height: 22px; width: auto; margin-right: 0; vertical-align: middle; }
.dr-product-accordion h3 { display: flex; align-items: center; }
.dr-site .dr-product-accordion .dr-accordion-pictogram { height: 22px; flex: none; object-fit: contain; object-position: left center; width: 92px; padding-left: 2px; }
@media (max-width: 767px) {
 .dr-product-tabs > div > div[role="tablist"] { padding-inline: 27px 30px; }
 .dr-product-tabs button[role="tab"][data-tab-index="1"], .dr-product-tabs button[role="tab"][data-tab-index="2"] { width: auto; }
 .dr-site .dr-product-accordion .dr-accordion-pictogram { height: 22px; width: 32px; padding-left: 0; margin-right: 12px; object-position: center; align-self: center; }
 .dr-product-accordion h3 { min-width: 0; }
 .dr-preguntas-frecuentes-mobile .dr-general-faq h3 { max-width: 230px; }
}

/* Las transformaciones nativas de las fotos nuevas no deben animarse con movimiento reducido ni en pantallas táctiles. */
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
 .dr-site .dr-page-content .dr-image.dr-photo-zoom:is(:hover,:focus-within) { --e-transform-scale: 1; --e-transform-transition-duration: 0s; }
}

/* El último grupo nativo deja medio intervalo sobrante debajo del botón. */
.dr-site .dr-page-content .dr-contact-form:is(.dr-form-short-message,.dr-form-long-message) form > div:has(> div > button[type="submit"]),
.dr-site .dr-page-content .dr-contact-form:is(.dr-form-short-message,.dr-form-long-message) form > div > div:has(> button[type="submit"]) { margin-bottom: 0; }

.dr-site .dr-contact-form :is(input,textarea)::placeholder { opacity: 1; color: inherit; }

.dr-site .dr-page-content .dr-contact-form form > div > div:has(.dr-form-privacy) > div > span { display: flex; align-items: center; }
.dr-site .dr-reveal40.animated { animation-duration: .9s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.dr-site .dr-hero-enter.animated { animation-duration: 1s; animation-timing-function: ease; }

.dr-header > div { transition: padding .35s ease; }

.dr-site .dr-source-arrows [role="button"] { width: 70px; height: 30px; background-size: 70px 18px; background-position: center; background-repeat: no-repeat; }
.dr-site .dr-source-arrows [role="button"].elementor-swiper-button-prev { background-image: var(--dr-arrow-previous); }
.dr-site .dr-source-arrows [role="button"].elementor-swiper-button-next { background-image: var(--dr-arrow-next); }
.dr-site .dr-source-arrows [role="button"] > :is(svg,i) { visibility: hidden; }
.dr-site .dr-source-arrows [role="button"][aria-disabled="true"] { opacity: 1; }
@media (max-width: 767px) {
 .dr-site .dr-source-arrows [role="button"] { width: 36px; height: 24px; background-size: 35px 9px; }
}
/* Los gráficos raster necesitan tamaño propio; posición y hover siguen en Elementor. */
.dr-site .dr-testimonials.dr-source-arrows [role="button"] { width: 70px; height: 44px; background-size: 70px 18px; }
.dr-site .dr-testimonials.dr-source-arrows [role="button"][aria-disabled="true"] { opacity: .65; }
@media (max-width: 767px) {
 .dr-site .dr-testimonials.dr-source-arrows [role="button"] { width: 44px; background-size: 44px 12px; }
}

.dr-site .dr-source-arrows [role="button"].elementor-swiper-button-prev:hover { translate: -6px 0; }
.dr-site .dr-source-arrows [role="button"].elementor-swiper-button-next:hover { translate: 6px 0; }
.dr-site .dr-source-arrows > div > div { transition-timing-function: cubic-bezier(.2,.7,.2,1); }
.dr-site .dr-legs-carousel [role="button"] { width: 84px; }
@media (max-width: 767px) {
 .dr-site .dr-legs-carousel [role="button"] { width: 44px; }
 .dr-site .dr-legs-carousel [role="button"].elementor-swiper-button-next { background-position: right center; }
}

/* El select nativo trae otra flecha y oculta su pseudo-elemento al usar SVG. */
.dr-site .dr-page-content .dr-contact-form .dr-form-client-choice::before { display: block; position: absolute; pointer-events: none; }
.dr-site .dr-contact-form .dr-form-client-choice > div { display: none; }
@media (prefers-reduced-motion: reduce) {
 .dr-site .dr-source-arrows [role="button"] { transition: none; translate: none; }
}

/* Los estados y la interacción pertenecen al acordeón nativo. */
.dr-faq summary > span > span { background-size: contain; background-repeat: no-repeat; background-position: center; }
.dr-faq summary > span > span:first-child { background-image: var(--dr-accordion-collapse); }
.dr-faq summary > span > span:last-child { background-image: var(--dr-accordion-expand); }
.dr-faq summary > span > span > :is(svg,i) { visibility: hidden; }

.dr-image[style], .dr-image:where([data-widget_type]) { transition-timing-function: cubic-bezier(.2,.7,.2,1); }

.dr-menu-popup .dialog-close-button { transition: transform .3s; }
.dr-menu-popup .dialog-close-button:hover { transform: rotate(90deg); }
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
 .dr-menu-popup .dialog-close-button { transition: none; }
 .dr-menu-popup .dialog-close-button:hover { transform: none; }
}

/* Elementor no ofrece hover del enlace padre para la imagen decorativa hija. */
.dr-site .dr-arrow-cta > .dr-cta-arrow {
 translate: 0 0;
 transition: background .3s, border .3s, border-radius .3s, box-shadow .3s,
  transform var(--e-transform-transition-duration, .4s), translate .45s cubic-bezier(.25,.46,.45,.94);
}
.dr-arrow-cta:is(:hover,:focus-within) > .dr-cta-arrow { translate: 6px 0; }
.dr-arrow-cta:is(:hover,:focus-within) > .dr-cta-arrow-left { translate: -6px 0; }
.dr-site .dr-source-arrows [role="button"] { transition: translate .45s cubic-bezier(.25,.46,.45,.94); }
@media (prefers-reduced-motion: reduce) {
 .dr-site .dr-arrow-cta > .dr-cta-arrow, .dr-site .dr-source-arrows [role="button"] { transition: none; }
 .dr-site .dr-arrow-cta:is(:hover,:focus-within) > .dr-cta-arrow { translate: none; }
 .dr-site .dr-source-arrows [role="button"][class]:hover { translate: none; }
}

/* Elementor tiene breakpoints por ancho; este ajuste cubre pantallas bajas. */
@media (max-height: 600px) {
 .dr-menu-overlay .dr-overlay-menu nav > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
 .dr-menu-overlay .dr-overlay-menu nav > ul > li > a { white-space: normal; }
 .dr-site .dr-menu-overlay .dr-menu-contact[class] { --margin-bottom: 0; --padding-bottom: 0; border-bottom-width: 0; }
}
@media (max-height: 600px) and (max-width: 767px) {
 .dr-site .dr-menu-overlay .dr-menu-contacts[class] { --flex-direction: row; --gap: 12px; }
 .dr-site .dr-menu-overlay .dr-menu-contact[class] { --width: calc(50% - 6px); }
 .dr-menu-overlay .dr-overlay-menu nav > ul > li > a { font-size: 18px; line-height: 25px; }
}
@media (max-height: 600px) and (max-width: 479px) {
 .dr-menu-overlay .dr-overlay-menu nav > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .dr-menu-overlay .dr-overlay-menu nav > ul > li > a { font-size: 16px; line-height: 24px; }
}
