/* Diego Fernando Zapata | diegozapatadz.com
   Portada editorial: jerarquía, espacio y contenido real. */
body.home { background: #fff; color: #334155; }
.home .dz-container, .home .dz-header-container { max-width: 1240px; padding-inline: 40px; }
.home .dz-site-header { background: #fff; backdrop-filter: none; box-shadow: none; border-bottom: 1px solid #e2e8f0; }
.home .dz-header-container { height: 84px; }
.home .dz-brand { gap: 10px; }
.home .dz-brand-text { font-size: 17px; line-height: 1.2; }
.home .dz-menu-open .dz-mobile-menu { top: 100%; }
.home .dz-nav-desktop { gap: 8px; }
.home .dz-nav-link { min-height: 44px; gap: 6px; padding-inline: 8px; white-space: nowrap; }
.home .dz-nav-link .dz-nav-text { white-space: nowrap; }
.home .dz-nav-link .dz-nav-icon { color: #52647e; }
.home .dz-nav-link .dz-nav-icon svg { display: block; width: 16px; height: 16px; }
.home .dz-btn-cta, .home .dz-btn-primary { background: #1d4ed8 !important; border-radius: 12px !important; min-height: 48px; }
.home .dz-btn-cta:hover, .home .dz-btn-primary:hover { background: #153ba6 !important; transform: translateY(-2px) !important; }
.home .dz-mobile-toggle { width: 44px; height: 44px; }
.home .dz-site-main { background: #fff; }
.home .dz-site-main > section { padding: 88px 0 !important; scroll-margin-top: 100px; }
.home .dz-site-main > .dz-hero-section { padding: 64px 0 76px !important; background: #fff !important; border: 0; }
.home h1, .home h2, .home h3 { color: #0a1c3d; text-wrap: balance; }
.home .dz-intro-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 56px; }
.home .dz-intro-copy h1 { margin: 0 0 24px; font-size: clamp(36px, 3.8vw, 54px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.home .dz-intro-copy > p { max-width: 48ch; font-size: 18px; line-height: 1.75; margin: 0 0 30px; }
.home .dz-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.home .dz-intro-copy .dz-intro-location { font-size: 15px; color: #475569; margin: 28px 0 0; }
.home .dz-intro-portrait { margin: 0; min-width: 0; }
.home .dz-intro-portrait img { width: 100%; aspect-ratio: 1.06; object-fit: cover; object-position: center; border-radius: 12px; }
.home .dz-intro-portrait figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding-top: 14px; color: #0a1c3d; font-size: 15px; font-weight: 700; }
.home .dz-intro-portrait figcaption span { color: #475569; font-weight: 400; }
.home .dz-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: #1d4ed8; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; }
.home .dz-text-link:hover { color: #153ba6; text-decoration-color: currentColor; }
.home .dz-editorial-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; margin-bottom: 44px; text-align: left; }
.home .dz-editorial-heading h2, .home .dz-about-copy h2 { font-size: clamp(30px, 3vw, 40px) !important; line-height: 1.2 !important; font-weight: 800; letter-spacing: -.03em !important; margin: 0 !important; color: #0a1c3d !important; }
.home .dz-editorial-heading p { font-size: 17px !important; line-height: 1.7 !important; color: #475569 !important; max-width: 48ch; margin: 0 !important; }
.home .dz-services-section { background: #f5f7fa !important; border: 0; }
.home .dz-service-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.home .dz-service-area { padding-top: 28px; border-top: 1px solid #bdc9d8; display: flex; flex-direction: column; align-items: flex-start; }
.home .dz-service-area h3 { font-size: 26px; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 18px; font-weight: 700; }
.home .dz-service-area > p { font-size: 16px; line-height: 1.75; margin: 0 0 14px; max-width: 35ch; }
.home .dz-service-details { width: 100%; font-size: 15px; margin-bottom: 16px; }
.home .dz-service-details summary { padding: 10px 0; cursor: pointer; color: #334155; min-height: 44px; }
.home .dz-service-details summary:hover { color: #1d4ed8; }
.home .dz-service-details ul { margin: 8px 0 16px; padding-left: 20px; line-height: 1.7; }
.home .dz-service-details li + li { margin-top: 8px; }
.home .dz-service-area > .dz-text-link { margin-top: auto; }
.home .dz-projects-section { background: #fff !important; border: 0 !important; color: #334155 !important; }
.home .dz-projects-grid { gap: 32px !important; }
.home .dz-project-card { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; transform: none !important; }
.home .dz-project-thumb-wrap { height: auto !important; aspect-ratio: 4 / 3; border: 0 !important; border-radius: 12px !important; background: #f0f4f9 !important; }
.home .dz-project-thumb { object-fit: contain !important; }
.home .dz-project-card:hover .dz-project-thumb { transform: scale(1.025) !important; }
.home .dz-project-body { padding: 22px 0 0 !important; }
.home .dz-project-title { font-size: 21px !important; line-height: 1.35 !important; min-height: 0 !important; margin-bottom: 10px !important; display: block !important; }
.home .dz-project-excerpt { font-size: 15px !important; color: #475569 !important; line-height: 1.7 !important; margin-bottom: 12px !important; }
.home .dz-project-excerpt:empty { display: none !important; }
.home .dz-project-footer { border: 0 !important; padding-top: 0 !important; }
.home .dz-project-btn { font-size: 15px !important; min-height: 44px; }
.home .dz-projects-more-wrap { text-align: center; margin-top: 42px; }
.home .dz-projects-more-wrap[hidden] { display: none !important; }
.home button.dz-projects-more-btn { border: 1px solid #cbd5e1 !important; background: #fff !important; color: #0f2b5c !important; border-radius: 8px !important; padding: 12px 24px !important; font-size: 15px !important; box-shadow: none !important; min-height: 48px; }
.home button.dz-projects-more-btn:hover { border-color: #1d4ed8 !important; background: #f0f4f9 !important; transform: none !important; }
.home .dz-about-section { background: #0b2559; color: #dbe6f5; }
.home .dz-about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 88px; }
.home .dz-about-copy h2 { color: #fff !important; margin-bottom: 28px !important; }
.home .dz-about-copy p { font-size: 17px; line-height: 1.8; max-width: 48ch; margin: 0 0 18px; }
.home .dz-process-panel { margin-top: 48px; padding: 34px 32px 32px; background: #0b2559; color: #dbe6f5; border: 1px solid #42649a; border-radius: 16px; scroll-margin-top: 112px; }
.home .dz-process-panel h3 { color: #fff; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 30px; }
.home .dz-process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.home .dz-process-list li { counter-increment: steps; position: relative; min-width: 0; padding: 0; }
.home .dz-process-list li::before { content: '0' counter(steps); position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; color: #fff; background: #1d4ed8; border: 1px solid #7da8ff; border-radius: 50%; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px #0b2559; }
.home .dz-process-list li:not(:last-child)::after { content: ''; position: absolute; top: 18px; left: 38px; width: calc(100% - 14px); height: 1px; background: #42649a; }
.home .dz-process-list li:last-child { padding-bottom: 0; }
.home .dz-process-list strong { display: block; color: #fff; font-size: 18px; line-height: 1.4; margin-bottom: 7px; }
.home .dz-process-list span { color: #dbe6f5; font-size: 16px; line-height: 1.65; }
.home .dz-contact-section { background: #f5f7fa; border: 0; }
.home .dz-contact-grid { grid-template-columns: .85fr 1.3fr !important; gap: 80px !important; }
.home .dz-contact-info-col { padding-top: 4px; min-width: 0; }
.home .dz-contact-info-col h3 { font-size: 23px; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 18px; }
.home .dz-contact-info-col > p { font-size: 16px; line-height: 1.75; margin: 0 0 18px; }
.home .dz-contact-info-col .dz-text-link { flex-wrap: wrap; gap: 8px; }
.home .dz-contact-email { display: block; width: fit-content; min-height: 44px; padding: 10px 0; font-size: 15px; color: #334155; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.home .dz-contact-info-col .dz-contact-hours { font-size: 15px; color: #475569; margin-top: 26px; }
.home .dz-form-card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.home .dz-form-header { margin-bottom: 24px; }
.home .dz-form-title { font-size: 20px; }
.home .dz-form-row { gap: 20px; }
.home .dz-form-group { margin-bottom: 20px; }
.home .dz-input, .home .dz-select, .home .dz-textarea { background: #fff; font-size: 16px; padding: 12px 14px; border: 1px solid #b8c5d5; min-height: 48px; }
.home .dz-textarea { min-height: 110px; }
.home .dz-input::placeholder, .home .dz-textarea::placeholder { color: #64748b; opacity: 1; }
.home .dz-form-actions .dz-btn-wa-direct { background: transparent !important; color: #0f2b5c !important; border: 1px solid #b8c5d5 !important; box-shadow: none !important; }
.home .dz-checkbox-label { align-items: flex-start; line-height: 1.6; }
.home .dz-checkbox-label input { flex-shrink: 0; margin-top: 4px; }
.home a:focus-visible, .home button:focus-visible, .home summary:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 5px; }
.home .dz-about-section a:focus-visible { outline-color: #fff; }
.home ::selection { background: #dbeafe; color: #0a1c3d; }
.home input, .home textarea { caret-color: #1d4ed8; }

/* Contact: a confident direct-contact panel paired with a focused form surface. */
.home .dz-contact-section { background: #eef3fa; }
.home .dz-contact-grid { grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr) !important; align-items: stretch; gap: clamp(28px, 5vw, 68px) !important; }
.home .dz-contact-info-col { align-self: start; padding: 38px 34px; border-radius: 14px; background: #0b2559; color: #e6eefb; display: flex; flex-direction: column; align-items: flex-start; }
.home .dz-contact-info-col h3 { color: #fff; font-size: clamp(23px, 2vw, 29px); margin-bottom: 12px; }
.home .dz-contact-info-col > p { color: #d6e2f4; font-size: 15px; line-height: 1.75; }
.home .dz-contact-channels { width: 100%; margin-top: 8px; border-top: 1px solid rgb(214 226 244 / 24%); }
.home .dz-contact-channel { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; color: #fff; text-decoration: none; border-bottom: 1px solid rgb(214 226 244 / 24%); transition: background-color .18s ease, transform .18s ease; }
.home .dz-contact-channel:hover { color: #fff; background: rgb(255 255 255 / 7%); transform: translateX(4px); }
.home .dz-contact-channel-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: #fff; background: rgb(255 255 255 / 12%); border-radius: 10px; }
.home .dz-contact-channel-icon svg { width: 21px; height: 21px; }
.home .dz-contact-channel-copy { display: grid; gap: 3px; min-width: 0; }
.home .dz-contact-channel-copy strong { color: #fff; font-size: 14px; font-weight: 700; }
.home .dz-contact-channel-copy span { color: #d6e2f4; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.home .dz-contact-channel-arrow { margin-left: auto; flex: 0 0 18px; width: 18px; height: 18px; color: #c6d7f2; }
.home .dz-contact-info-col .dz-contact-hours { display: grid; gap: 5px; margin: 0; padding-top: 26px; color: #d6e2f4; font-size: 13px; line-height: 1.6; }
.home .dz-contact-hours strong { color: #fff; font-weight: 600; }
.home .dz-contact-form-col { min-width: 0; display: flex; align-items: stretch; }
.home .dz-form-card { width: 100%; padding: clamp(26px, 3.2vw, 42px); border: 1px solid #dbe4ef; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgb(15 43 92 / 8%); }
.home .dz-form-header { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #e7edf5; }
.home .dz-form-title { font-size: 22px; letter-spacing: -.025em; }
.home .dz-form-desc { color: #52647e; }
.home .dz-input, .home .dz-select, .home .dz-textarea { border-color: #c8d4e2; border-radius: 8px; }
.home .dz-input:focus, .home .dz-select:focus, .home .dz-textarea:focus { border-color: #1d4ed8; box-shadow: 0 0 0 3px rgb(29 78 216 / 12%); outline: 0; }
.home #dzService option { padding: 10px 12px; font-size: 14px; line-height: 1.7; }
.home .dz-form-actions .dz-btn-wa-direct { background: #fff !important; }
.home .dz-form-actions .dz-btn-wa-direct:hover { background: #f2f6fc !important; border-color: #7188a8 !important; }
.home .dz-contact-info-col a:focus-visible { outline-color: #fff; }
@media (max-width: 1024px) {
    .home .dz-container, .home .dz-header-container { padding-inline: 28px; }
    .home .dz-intro-layout { gap: 32px; }
    .home .dz-intro-copy h1 { font-size: 42px; }
    .home .dz-desktop-break { display: none; }
    .home .dz-service-columns { gap: 26px; }
    .home .dz-process-panel { padding: 28px 24px; }
    .home .dz-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
    .home .dz-process-list li:not(:last-child)::after { display: none; }
    .home .dz-process-list li { padding-top: 16px; border-top: 1px solid #42649a; }
    .home .dz-process-list li::before { margin-bottom: 12px; }
    .home .dz-service-area h3 { font-size: 23px; }
    .home .dz-projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; }
    .home .dz-about-layout, .home .dz-contact-grid { gap: 42px !important; }
}
@media (max-width: 760px) {
    .home .dz-container, .home .dz-header-container { padding-inline: 22px; }
    .home .dz-header-container { height: 72px; gap: 12px; }
    .home .dz-brand-logo { max-width: 150px; height: 36px; }
    .home .dz-brand-text { max-width: 70px; font-size: 15px; }
    .home .dz-btn-cta { font-size: 15px; padding: 10px 16px; min-height: 44px; }
    .home .dz-header-cta-wrap { gap: 10px; }
    .home .dz-site-main > section { padding: 58px 0 !important; scroll-margin-top: 88px; }
    .home .dz-site-main > .dz-contact-section { scroll-margin-top: 92px; }
    .home .dz-site-main > .dz-hero-section { padding: 40px 0 52px !important; }
    .home .dz-intro-layout, .home .dz-editorial-heading, .home .dz-about-layout, .home .dz-contact-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .home .dz-intro-copy h1 { font-size: clamp(34px, 7.5vw, 46px); max-width: 15ch; margin-bottom: 20px; }
    .home .dz-intro-copy > p { font-size: 17px; margin-bottom: 22px; }
    .home .dz-intro-copy .dz-intro-location { margin-top: 18px; font-size: 15px; }
    .home .dz-intro-actions { gap: 12px 22px; }
    .home .dz-intro-portrait img { aspect-ratio: 4 / 3; object-position: center 43%; }
    .home .dz-intro-portrait figcaption { display: block; line-height: 1.7; }
    .home .dz-intro-portrait figcaption span { display: block; }
    .home .dz-editorial-heading { gap: 16px !important; margin-bottom: 32px; }
    .home .dz-editorial-heading h2, .home .dz-about-copy h2 { font-size: 32px !important; }
    .home .dz-service-columns { grid-template-columns: 1fr; gap: 30px; }
    .home .dz-process-panel { margin-top: 36px; padding: 26px 22px; border-radius: 14px; }
    .home .dz-process-panel h3 { font-size: 23px; margin-bottom: 24px; }
    .home .dz-process-list { grid-template-columns: 1fr; gap: 18px; }
    .home .dz-process-list li { padding: 0 0 0 54px; border: 0; }
    .home .dz-process-list li::before { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: 0; }
    .home .dz-process-list li:not(:last-child)::after { display: block; top: 38px; bottom: -18px; left: 18px; width: 1px; height: auto; }
    .home .dz-process-list strong { font-size: 18px; margin: 0 0 5px; }
    .home .dz-process-list span { font-size: 17px; line-height: 1.65; }
    .home .dz-service-area { padding-top: 24px; }
    .home .dz-service-area h3 { font-size: 25px; }
    .home .dz-service-area h3 br { display: none; }
    .home .dz-service-area h3 br::after { content: ' '; }
    .home .dz-service-area > p { max-width: 52ch; }
    .home .dz-projects-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
    .home .dz-project-thumb-wrap { aspect-ratio: 4 / 3; }
    .home .dz-about-layout { gap: 32px !important; }
    .home .dz-contact-grid { gap: 36px !important; }
    .home .dz-contact-info-col { padding: 28px 24px; }
    .home .dz-form-card { padding: 26px 22px; }
    .home .dz-form-actions { flex-wrap: wrap; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .home .dz-nav-desktop { display: none; }
    .home .dz-mobile-toggle { display: flex; }
    .home .dz-menu-open .dz-mobile-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 20px; background: #fff; border-bottom: 1px solid #dbe4ef; box-shadow: 0 16px 24px -8px rgb(15 43 92 / 12%); z-index: 999; }
    .home .dz-mobile-menu-inner { display: flex; flex-direction: column; gap: 8px; }
    .home .dz-mobile-link { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #e7edf5; border-radius: 8px; color: #0a1c3d; font-size: 16px; font-weight: 600; text-decoration: none; }
    .home .dz-mobile-link .dz-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: #1d4ed8; flex: 0 0 20px; }
    .home .dz-mobile-link .dz-nav-icon svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
}

/* A personal studio signature gives the landing page more presence and depth. */
.home .dz-site-main > .dz-hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 82px 0 98px !important;
    background: #081b38 !important;
    border: 0;
}
.home .dz-site-main > .dz-hero-section::before {
    position: absolute;
    z-index: -1;
    top: -240px;
    right: -105px;
    width: min(58vw, 790px);
    aspect-ratio: 1;
    border: 1px solid rgb(145 201 255 / 14%);
    border-radius: 50%;
    content: "";
}
.home .dz-site-main > .dz-hero-section::after {
    position: absolute;
    z-index: -1;
    top: -182px;
    right: -47px;
    width: min(58vw, 790px);
    aspect-ratio: 1;
    border: 1px solid rgb(145 201 255 / 9%);
    border-radius: 50%;
    content: "";
}
.home .dz-intro-layout { grid-template-columns: 1.04fr .96fr; gap: 72px; }
.home .dz-intro-copy h1 { max-width: 14ch; font-size: clamp(46px, 4.6vw, 66px); letter-spacing: -.04em; color: #fff; }
.home .dz-hero-accent { color: #8cc8ff; }
.home .dz-intro-copy > p { max-width: 47ch; color: #d5dfef; font-size: 18px; }
.home .dz-intro-copy .dz-intro-location { display: flex; align-items: center; gap: 10px; color: #bacbe3; }
.home .dz-location-marker { width: 8px; height: 8px; border-radius: 50%; background: #5ab2ff; box-shadow: 0 0 0 4px rgb(90 178 255 / 16%); }
.home .dz-intro-actions { gap: 28px; }
.home .dz-intro-actions .dz-btn-primary { color: #081b38 !important; background: #b9dcff !important; border: 1px solid #b9dcff !important; font-size: 16px; }
.home .dz-intro-actions .dz-btn-primary:hover { color: #081b38 !important; background: #fff !important; border-color: #fff !important; }
.home .dz-intro-actions .dz-text-link { color: #f3f7ff; }
.home .dz-intro-actions .dz-text-link:hover { color: #b9dcff; }
.home .dz-intro-portrait { position: relative; z-index: 0; padding: 0 18px 18px 0; }
.home .dz-intro-portrait::before {
    position: absolute;
    z-index: -1;
    inset: 18px 0 62px 18px;
    border: 1px solid #64a9f4;
    border-radius: 12px;
    content: "";
}
.home .dz-intro-portrait img { aspect-ratio: 1.04; border-radius: 8px; }
.home .dz-intro-portrait figcaption { color: #fff; }
.home .dz-intro-portrait figcaption span { color: #c5d6ec; }
.home .dz-services-section { background: #f1f5fa !important; }
.home .dz-service-area { border-top: 2px solid #1d4ed8; }
.home .dz-projects-section { position: relative; overflow: hidden; }
.home .dz-project-thumb-wrap { border: 1px solid #dce5f0 !important; }
.home .dz-project-title a { color: #0a1c3d !important; }
.home .dz-project-title a:hover { color: #1d4ed8 !important; }
@media (max-width: 1024px) {
    .home .dz-intro-layout { gap: 42px; }
    .home .dz-intro-copy h1 { font-size: 48px; }
}
@media (max-width: 760px) {
    .home .dz-site-main > .dz-hero-section { padding: 54px 0 64px !important; }
    .home .dz-site-main > .dz-hero-section::before { top: 20px; right: -260px; width: 500px; }
    .home .dz-site-main > .dz-hero-section::after { top: 58px; right: -205px; width: 500px; }
    .home .dz-intro-layout { grid-template-columns: 1fr !important; gap: 36px !important; }
    .home .dz-intro-copy h1 { max-width: 14ch; font-size: clamp(38px, 9vw, 50px); }
    .home .dz-intro-copy > p { color: #d5dfef; }
    .home .dz-intro-actions .dz-btn-primary { width: 100%; }
    .home .dz-intro-portrait { padding: 0 12px 12px 0; }
    .home .dz-intro-portrait::before { inset: 12px 0 60px 12px; }
    .home .dz-intro-portrait img { aspect-ratio: 1.08; }
}

/* Signature artwork and clearer disclosure controls for the three service lines. */
.home .dz-service-title-row { display: flex; align-items: center; gap: 16px; min-height: 68px; margin: 0 0 18px; }
.home .dz-service-title-row h3 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.home .dz-service-illustration { width: 60px; height: 60px; flex: 0 0 60px; display: grid; place-items: center; color: #1d4ed8; background: #dceafe; border: 1px solid #c4dafa; border-radius: 13px; }
.home .dz-service-illustration svg { display: block; width: 40px; height: 40px; }
.home .dz-service-area:nth-child(2) .dz-service-illustration { color: #087c82; background: #d9f2ef; border-color: #bee8e3; }
.home .dz-service-area:nth-child(3) .dz-service-illustration { color: #6554b8; background: #eae5fa; border-color: #dcd4f4; }
.home .dz-service-area > p { color: #40516a; }
.home .dz-service-details { margin-top: 10px; }
.home .dz-service-details summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #cbd7e6; border-bottom: 1px solid #cbd7e6; padding-inline: 10px; color: #1a3458; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.home .dz-service-details summary::-webkit-details-marker { display: none; }
.home .dz-service-details summary::marker { content: ""; }
.home .dz-service-details summary:hover { border-color: #8ba9d0; color: #1d4ed8; }
.home .dz-service-details summary svg { width: 16px; height: 16px; flex: 0 0 16px; color: #1d4ed8; transition: transform .2s ease; }
.home .dz-service-details summary svg { display: none; }
.home .dz-service-details summary { pointer-events: none; cursor: default; }
.home .dz-service-details ul { padding-left: 26px; color: #40516a; }
.home .dz-service-area > .dz-text-link { padding-inline: 10px; font-weight: 700; }
@media (max-width: 1024px) {
    .home .dz-service-title-row h3 { font-size: 21px; }
}

/* Sobre mí: dar más carácter a la presentación sin añadir ruido al contenido. */
.home .dz-about-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 8vw, 108px) 0 !important;
    background: radial-gradient(ellipse at 92% 18%, rgb(48 102 178 / 24%), transparent 34%), #0b2559;
}
.home .dz-about-section::before,
.home .dz-about-section::after {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -150px;
    width: 510px;
    aspect-ratio: 1;
    border: 1px solid rgb(184 213 255 / 12%);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
    pointer-events: none;
}
.home .dz-about-section::after {
    right: -104px;
    width: 418px;
    border-color: rgb(184 213 255 / 9%);
}
.home .dz-about-layout { position: relative; z-index: 1; align-items: center; gap: clamp(56px, 8vw, 112px); }
.home .dz-about-copy:first-child h2 {
    font-size: clamp(40px, 3.6vw, 46px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
}
.home .dz-about-copy:first-child h2::after {
    display: block;
    width: 58px;
    height: 3px;
    margin-top: 26px;
    border-radius: 2px;
    background: #70bdff;
    content: "";
}
.home .dz-about-summary { max-width: 590px; }
.home .dz-about-summary p { max-width: 54ch; }
.home .dz-about-summary p:first-child { color: #f2f7ff; font-size: 20px; line-height: 1.7; }
.home .dz-about-summary p + p {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgb(207 224 249 / 22%);
    color: #c9d9ef;
    font-size: 16px;
    line-height: 1.75;
}
@media (max-width: 760px) {
    .home .dz-site-main > .dz-about-section { padding: 56px 0 !important; }
    .home .dz-about-layout { gap: 28px !important; }
    .home .dz-about-copy:first-child h2 { font-size: clamp(34px, 9vw, 38px) !important; }
    .home .dz-about-copy:first-child h2::after { margin-top: 18px; }
    .home .dz-about-summary p:first-child { font-size: 18px; }
    .home .dz-about-summary p + p { margin-top: 16px; padding-top: 16px; }
    .home .dz-about-section::before { right: -360px; top: 30%; }
    .home .dz-about-section::after { right: -326px; top: 30%; }
}

.home .dz-share-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.home .dz-share-label { flex: 0 0 100%; margin-bottom: 2px; color: #d3e1f5; font-size: 14px; font-weight: 600; }
.home .dz-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid rgb(190 213 245 / 36%);
    border-radius: 7px;
    background: rgb(255 255 255 / 5%);
    color: #f5f8ff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.home .dz-share-button:hover { transform: translateY(-2px); border-color: #8cc8ff; background: rgb(255 255 255 / 12%); color: #fff; }
.home .dz-share-button svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home .dz-share-button[data-share-network="facebook"] svg,
.home .dz-share-button[data-share-network="linkedin"] svg { fill: currentColor; stroke: none; }
.home .dz-share-status { min-height: 1em; color: #c9e4ff; font-size: 13px; }
.home .dz-about-section .dz-share-button:focus-visible { outline: 3px solid #a7d7ff; outline-offset: 3px; }
@media (max-width: 760px) {
    .home .dz-share-tools { gap: 8px; margin-top: 20px; }
    .home .dz-share-button { min-height: 44px; padding-inline: 10px; }
    .home .dz-share-status { flex-basis: 100%; }
}
@media (max-width: 760px) {
    .home .dz-service-title-row { gap: 14px; min-height: 60px; }
    .home .dz-service-title-row h3 { font-size: 23px; }
}

/* Portfolio grid: reduce image height and align the information across each row. */
.home .dz-site-main > .dz-projects-section { padding: 68px 0 72px !important; }
.home .dz-projects-section .dz-editorial-heading { margin-bottom: 30px; }
.home .dz-projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; align-items: stretch; }
.home .dz-project-card { min-width: 0; background: #fff !important; border: 1px solid #b9c9de !important; border-radius: 12px !important; overflow: hidden !important; transition: border-color .18s ease, box-shadow .18s ease !important; }
.home .dz-project-card:hover { border-color: #8ea9cf !important; box-shadow: 0 8px 22px rgb(15 43 92 / 8%) !important; }
.home .dz-project-thumb-link { flex: 0 0 auto; }
.home .dz-project-thumb-wrap { aspect-ratio: 16 / 10; max-height: 210px; border: 0 !important; border-bottom: 1px solid #e4eaf2 !important; border-radius: 0 !important; background: #f3f6fa !important; }
.home .dz-project-thumb-wrap { background-image: var(--dz-project-edge-fill, linear-gradient(90deg, #f3f6fa, #f3f6fa)) !important; }
.home .dz-project-thumb { object-fit: contain !important; }
.home .dz-project-body { flex: 1; padding: 16px 18px 14px !important; }
.home .dz-project-title { min-height: 2.7em !important; margin: 0 0 7px !important; font-size: 19px !important; line-height: 1.35 !important; }
.home .dz-project-excerpt { min-height: 3.05em; margin: 0 0 8px !important; font-size: 14px !important; line-height: 1.55 !important; }
.home .dz-project-footer { min-height: 36px; padding-top: 8px !important; border-top: 1px solid #e7edf5 !important; }
.home .dz-project-btn { min-height: 32px; font-size: 14px !important; }
.home .dz-projects-more-wrap { margin-top: 28px; }
.home .dz-project-card-cta { border-style: dashed !important; border-color: #9bb8e6 !important; }
@media (max-width: 1024px) {
    .home .dz-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px !important; }
}
@media (max-width: 760px) {
    .home .dz-site-main > .dz-projects-section { padding: 50px 0 56px !important; }
    .home .dz-projects-section .dz-editorial-heading { margin-bottom: 24px; }
    .home .dz-projects-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
    .home .dz-project-thumb-wrap { aspect-ratio: 16 / 10; max-height: none; }
    .home .dz-project-body { padding: 15px 16px 13px !important; }
    .home .dz-project-title { font-size: 18px !important; min-height: 0 !important; }
    .home .dz-project-excerpt { min-height: 0; }
}

/* Country selector keeps the international prefix separate from the national number. */
.home .dz-phone-control { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; min-width: 0; }
.home .dz-phone-control .sdgj-country { min-height: 48px; }
.home .dz-phone-control .sdgj-country-btn { min-height: 48px; gap: 7px; padding-inline: 10px; border: 1px solid #c8d4e2; border-radius: 8px; background: #fff; color: #102b5c; font-size: 15px; }
.home .dz-phone-control .sdgj-country-btn:hover { border-color: #8fa4c2; }
.home .dz-phone-control .sdgj-country-btn:focus-visible, .home .dz-phone-control .sdgj-country-btn[aria-expanded="true"] { border-color: #1d4ed8; box-shadow: 0 0 0 3px rgb(29 78 216 / 12%); outline: 0; }
.home .dz-phone-control .sdgj-country img { width: 24px; height: 16px; object-fit: cover; }
.home .dz-phone-number-wrap { display: grid; min-width: 0; gap: 5px; }
.home .dz-phone-number-wrap .dz-input { min-width: 0; }
.home .dz-phone-help { color: #64748b; font-size: 12px; line-height: 1.45; }
.home .sdgj-country .sdgj-country-list { z-index: 100001; }
.home .sdgj-country .sdgj-country-list li { min-height: 42px; }
.home .sdgj-country .sdgj-country-list li[aria-selected="true"] { background: #eff6ff; color: #1e40af; }
.home .sdgj-country .sdgj-country-list li[aria-selected="true"] b { color: #1e40af; }
@media (max-width: 760px) {
    .home .dz-phone-control .sdgj-country-btn { min-height: 48px; }
    .home .sdgj-country .sdgj-country-list li { min-height: 46px; }
}

/* Mantener legibles todos los textos de inicio en pantallas móviles. */
@media (max-width: 760px) {
    .home :where(p, li, label, small, figcaption, blockquote, button, input, select, textarea, a, span, strong, b, time, address, summary, dt, dd, option),
    .home .dz-contact-info-col .dz-contact-hours,
    .home .dz-phone-help,
    .home .dz-share-label,
    .home .dz-share-status,
    .home .dz-contact-channel-copy strong,
    .home .dz-contact-channel-copy span,
    .home .dz-project-excerpt,
    .home .dz-project-btn {
        font-size: max(17px, 1em) !important;
    }

    .home .dz-project-excerpt {
        font-size: max(20px, 1em) !important;
        -webkit-line-clamp: 3 !important;
    }

    .home .dz-project-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .home .dz-intro-copy > p:not(.dz-intro-location) {
        font-size: 19px !important;
    }

    .home .dz-about-copy p {
        font-size: 20px !important;
    }

    .home .dz-editorial-heading > p,
    .home .dz-service-area > p {
        font-size: 22px !important;
    }

    .home .dz-service-details summary,
    .home .dz-service-details li,
    .home .dz-service-area > .dz-text-link {
        font-size: 19px !important;
        line-height: 1.65 !important;
    }
}
