/* DPD / Etapa 7. Visual layer shared by every content template. */
:root {
    --q2-bg: #faf9f7;
    --q2-bg-elev: #ffffff;
    --q2-text: #4c4a55;
    --q2-text-strong: #25232c;
    --q2-border-strong: #dedce3;
    --q2-border-ring: #e8e6ec;
    --q2-accent: var(--dpd-brand, #6d28d9);
    --q2-link: var(--dpd-brand, #6d28d9);
    --q2-accent-contrast: #ffffff;
}
:root[data-theme='dark'] {
    --q2-bg: #15141a;
    --q2-bg-elev: #201f27;
    --q2-text: #d2cfdb;
    --q2-text-strong: #f4f2f8;
    --q2-border-strong: #4a4658;
    --q2-border-ring: #36323f;
    --q2-link: color-mix(in srgb, var(--dpd-brand, #6d28d9) 45%, white);
}
.dpd-site {
    --dpd-acento: var(--q2-accent);
    --dpd-acento-hover: color-mix(in srgb, var(--q2-accent) 80%, black);
    --dpd-foco: var(--q2-link);
    --dpd-header-height: 88px;
    background: var(--q2-bg);
    color: var(--q2-text);
    font-family: var(--dpd-fuente);
    font-size: 16px;
    line-height: 1.7;
}
.dpd-site *, .dpd-site *::before, .dpd-site *::after { box-sizing: border-box; }
.dpd-site [hidden] { display: none !important; }
.dpd-site .container { width: min(100%, 1248px); max-width: 1248px; margin-inline: auto; padding-inline: 40px; }
.dpd-site #body-wrapper { padding-block: 24px 80px; }
.dpd-site #start { scroll-margin-top: calc(var(--dpd-header-height) + 16px); }
.dpd-site h1, .dpd-site h2, .dpd-site h3 {
    color: var(--q2-text-strong);
    font-family: var(--dpd-fuente);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.dpd-site h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }
.dpd-site h2 { font-size: clamp(1.65rem, 3.1vw, 2.4rem); }
.dpd-site h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.dpd-site a { text-underline-offset: .2em; }
.dpd-site p, .dpd-site h1, .dpd-site h2, .dpd-site h3, .dpd-site a { overflow-wrap: anywhere; }
.dpd-site a:focus-visible, .dpd-site button:focus-visible, .dpd-site input:focus-visible, .dpd-site textarea:focus-visible {
    outline: 3px solid var(--dpd-foco);
    outline-offset: 4px;
}
.dpd-header { background: var(--q2-bg); backdrop-filter: none; }
.dpd-header__inner { min-height: var(--dpd-header-height); gap: 20px; }
.dpd-brand { font-size: 23px; font-weight: 750; letter-spacing: -.045em; }
.dpd-brand:not(.dpd-brand--image)::before { width: 10px; height: 28px; flex-basis: 10px; border-radius: 3px; }
.dpd-nav__link { font-size: 14px; padding-inline: 14px; border-radius: 6px; }
.dpd-nav__link[aria-current] { color: var(--q2-link); background: color-mix(in srgb, var(--dpd-acento) 7%, transparent); }
.dpd-appearance, .dpd-menu-toggle { border-radius: 6px; }
.dpd-header .dpd-contact-links { padding-top: 8px; border-top: 1px solid var(--q2-border-ring); }
.dpd-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    min-height: 590px;
    margin: 0;
    padding: 64px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--q2-text);
    box-shadow: none;
}
.dpd-hero::before, .dpd-hero::after { content: none; }
.dpd-hero__etiqueta {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--q2-link);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .12em;
}
.dpd-hero__etiqueta::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.dpd-hero h1 { max-width: 12ch; margin: 0 0 24px; color: var(--q2-text-strong); font-size: clamp(2.5rem, 4.7vw, 4.1rem); line-height: 1.05; font-weight: 650; }
.dpd-hero p { max-width: 41ch; margin: 0 0 32px; color: var(--q2-text); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; }
.dpd-hero__imagen { min-width: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; box-shadow: none; }
.dpd-hero__imagen img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; }
.dpd-picture { display: block; max-width: 100%; }
.dpd-picture img { display: block; max-width: 100%; height: auto; }
.dpd-btn { display: inline-flex; gap: 28px; justify-content: center; align-items: center; min-height: 50px; padding: 14px 22px; border-radius: 6px; background: var(--dpd-acento); color: white; box-shadow: none; }
.dpd-btn:hover { background: var(--dpd-acento-hover); color: white; transform: none; }
.dpd-btn:focus-visible { outline-color: var(--dpd-foco); }
.dpd-servicios { margin-top: 32px; padding-top: 48px; border-top: 1px solid var(--q2-border-strong); }
.dpd-servicios__encabezado { margin-bottom: 32px; }
.dpd-servicios__titulo::before { content: none; }
.dpd-servicios__grid, .dpd-catalog-grid { gap: 24px; }
.dpd-servicio, .dpd-catalog-card { border-radius: 10px; box-shadow: none; border-color: var(--q2-border-strong); }
.dpd-servicio__contenido { padding: 32px; }
.dpd-servicio__numero { display: block; margin-bottom: 36px; color: var(--q2-link); font-size: 13px; font-weight: 650; }
.dpd-servicio__titulo { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.dpd-servicio__descripcion { margin-top: 16px; color: var(--q2-text); font-size: 15px; }
.dpd-servicio__enlace { text-decoration: none; }
.dpd-servicio__enlace:hover { color: var(--q2-link); text-decoration: underline; }
.dpd-servicio .dpd-picture img, .dpd-catalog-card .dpd-picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dpd-catalog-card__body { padding: 28px; }
.dpd-catalog-card h3 a { color: var(--q2-text-strong); text-decoration: none; }
.dpd-catalog-card h3 a:hover { color: var(--q2-link); text-decoration: underline; }
.dpd-catalog-card p { font-size: 15px; }
.dpd-breadcrumbs { padding-block: 20px 12px; font-size: 13px; }
.dpd-breadcrumbs li + li::before { color: var(--q2-text); opacity: .6; }
.dpd-breadcrumbs a { display: inline-flex; align-items: center; min-height: 28px; }
.dpd-content { padding-block: 28px 36px; }
.dpd-content__header { max-width: 780px; margin-bottom: 32px; }
.dpd-content__header h1, .dpd-content__header h2 { margin: 0 0 24px; text-align: left; }
.dpd-content__header h1::before, .dpd-content__header h2::before { content: none; }
.dpd-content__intro { max-width: 62ch; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.7; }
.dpd-content__body { max-width: 76ch; font-size: 1rem; }
.dpd-content__body > :first-child { margin-top: 0; }
.dpd-content__body img, .dpd-content__body video, .dpd-content__body iframe { max-width: 100%; }
.dpd-content__body pre { max-width: 100%; overflow: auto; }
.dpd-content__body table { display: block; max-width: 100%; overflow-x: auto; }
.dpd-content__figure { max-width: 1000px; margin-block: 32px; }
.dpd-content__figure img, .dpd-content__section .dpd-picture img { border-radius: 10px; }
.dpd-content__section { margin-block: 48px; }
.dpd-content figcaption { color: var(--q2-text); padding-block: 12px; }
.dpd-catalog-section { margin-block: 40px; }
.dpd-catalog-section > h2 { margin-bottom: 28px; }
.dpd-product-features { max-width: 900px; padding: 24px; border: 1px solid var(--q2-border-strong); border-radius: 10px; background: var(--q2-bg-elev); }
.dpd-product-price { color: var(--q2-link); font-size: 1.25rem; }
.dpd-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; }
.dpd-gallery { padding-top: 32px; border-top: 1px solid var(--q2-border-strong); }
.dpd-gallery__item a { border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.dpd-gallery__item img { transition: transform .2s ease; border-radius: 0; }
.dpd-gallery__item a:hover img { transform: scale(1.025); }
.dpd-contact__form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--q2-border-strong); border-radius: 10px; background: var(--q2-bg-elev); }
.dpd-contact__form h2 { font-size: 1.7rem; }
.dpd-contact__details { padding: 24px 0; }
.dpd-contact input:not([type='hidden']), .dpd-contact textarea { min-height: 48px; background: var(--q2-bg); border-color: #898493; border-radius: 5px; }
.dpd-contact fieldset:disabled { opacity: 1; color: var(--q2-text); }
.dpd-contact fieldset:disabled .dpd-btn { background: #655d72; color: #fff; }
.dpd-contact__notice { padding: 20px; background: var(--q2-bg); }
.dpd-footer { padding-top: 56px; background: color-mix(in srgb, var(--q2-bg) 96%, var(--dpd-brand, #6d28d9)); border-color: var(--q2-border-strong); }
.dpd-footer__main { gap: 48px; padding-bottom: 40px; }
.dpd-footer__identity { max-width: 480px; }
.dpd-footer__description { max-width: 48ch; color: var(--q2-text); }
.dpd-footer__nav .dpd-nav__list { gap: 4px; }
.dpd-footer__bottom { padding-block: 24px; }
.dpd-footer__copyright { font-size: 13px; }
/* The base theme stretches dialogs into full-screen flex overlays. This dialog is the panel itself. */
.dpd-lightbox { position: fixed; inset: 0; box-sizing: border-box; width: min(1120px, calc(100% - 32px)); min-width: 0; height: fit-content; min-height: 0; max-height: calc(100dvh - 32px); margin: auto; padding: 20px; overflow: auto; overscroll-behavior: contain; backdrop-filter: none; border: 1px solid #67616e; border-radius: 12px; background: #19171e; color: #fff; }
.dpd-lightbox[open] { display: block; }
.dpd-lightbox::backdrop { background: rgb(12 10 17 / 85%); }
.dpd-lightbox__toolbar, .dpd-lightbox__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dpd-lightbox__controls { flex-wrap: wrap; gap: 8px; }
.dpd-lightbox__controls [data-counter] { white-space: nowrap; }
.dpd-lightbox__toolbar h2 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: 0; }
.dpd-lightbox figure { margin: 16px 0; }
.dpd-lightbox figure img { display: block; width: 100%; max-height: max(120px, calc(100dvh - 260px)); object-fit: contain; }
.dpd-lightbox figcaption { padding-top: 12px; color: #e6e0ee; }
.dpd-lightbox button { width: auto; min-height: 44px; margin: 0; padding: 8px 14px; border: 1px solid #8f879a; border-radius: 5px; background: #292430; color: #fff; font: inherit; white-space: nowrap; cursor: pointer; }
.dpd-lightbox button:disabled { opacity: .55; cursor: default; }
.dpd-lightbox button:focus-visible { outline: 3px solid #d4b8ff; outline-offset: 3px; }
@media (min-width: 768px) and (max-width: 1000px) {
    .dpd-header__inner { column-gap: 8px; }
    .dpd-nav__link { padding-inline: 9px; }
    .dpd-brand { font-size: 20px; }
    .dpd-hero { gap: 32px; min-height: 480px; }
}
@media (max-width: 767px) {
    .dpd-site { --dpd-header-height: 72px; }
    .dpd-site .container { padding-inline: 24px; }
    .dpd-site #body-wrapper { padding-block: 16px 56px; }
    .dpd-header__inner { grid-template-columns: minmax(0,1fr) 44px 44px; gap: 8px; }
    .dpd-header { max-height: 100dvh; overflow-y: auto; }
    .dpd-hero { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 32px; min-height: 0; }
    .dpd-hero h1 { max-width: 16ch; font-size: clamp(2.25rem, 8.2vw, 3.4rem); }
    .dpd-hero__etiqueta { margin-bottom: 20px; }
    .dpd-hero__imagen img { aspect-ratio: 5 / 4; }
    .dpd-btn { width: auto; max-width: 100%; font-size: 14px; }
    .dpd-servicios { margin-top: 24px; padding-top: 36px; }
    .dpd-servicio__contenido, .dpd-catalog-card__body { padding: 24px; }
    .dpd-servicio__numero { margin-bottom: 24px; }
    .dpd-content { padding-block: 16px 24px; }
    .dpd-gallery__grid { gap: 20px; }
    .dpd-footer { padding-top: 40px; }
    .dpd-footer__main { gap: 28px; }
    .dpd-footer__nav .dpd-nav__link { padding-left: 0; padding-right: 24px; }
    .dpd-product-features > div { grid-template-columns: 1fr; gap: 4px; }
    .dpd-lightbox { padding: 12px; }
    .dpd-lightbox__controls { font-size: 13px; }
}
@media (hover: hover) and (pointer: fine) {
    .dpd-servicio:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(28 22 42 / 5%); }
}
@media (prefers-reduced-motion: reduce) {
    .dpd-site *, .dpd-site *::before, .dpd-site *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .dpd-gallery__item a:hover img, .dpd-servicio:hover { transform: none; }
}
.dpd-reviews { padding: 64px 0; border-top: 1px solid var(--q2-border-strong); }
.dpd-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 24px; }
.dpd-review { margin: 0; padding: 28px; background: var(--q2-bg-elev); border: 1px solid var(--q2-border-strong); border-radius: 10px; }
.dpd-review blockquote { border: 0; margin: 0 0 24px; padding: 0; color: inherit; }
.dpd-review figcaption { display: grid; gap: 4px; font-size: .875rem; }
.dpd-review__rating { color: var(--q2-link); letter-spacing: .12em; }
